- 08 Mar, 2003 8 commits
-
-
Dave Jones authored
-
Dave Jones authored
The sysfs directory where the cpufreq-related files are stored changed due to the new device interface code, so the documentation needs to be updated accordingly. Also, add some information about the reference counting and the exporting of sysfs files by the drivers.
-
Dave Jones authored
This patch lets cpufreq drivers export per-CPU files in the cpufreq and cpu-specific sysfs directory. As an example, a file "scaling_available_frequencies" is added to the p4-clockmod.c driver.
-
Dave Jones authored
Intel ICH4-M soutbridges use exactly the same register interface for SpeedStep as ICH2-M and ICH3-M southbridges -- which makes adding support for this bridge (almost) trivial
-
Dave Jones authored
This patch takes use of the now-working cpufreq_interface.kset and cpufreq_policy.kobj to use reference counting within the cpufreq core wherever this is more appropriate than the previous approach -- using one semaphore. Additionally, the callbacks to the driver modules are protected now.
-
Dave Jones authored
- no cpufreq driver uses the frequency table helper "setpolicy" any more ("target" is much more appropriate for them anyways) - so remove that helper - all cpufreq drivers use the advanced registration process, so some compatibility code can safely be removed.
-
Dave Jones authored
Let's put the sysfs file exported by the cpufreq userspace governor also into the cpufreq/ - subdirectory of /sys/devices/sys/cpu0/.
-
Dave Jones authored
- update two more cpufreq-related sysfs files to the new interface code - always store the new, user-requested policy in another struct cpufreq_policy so that we can safely fall back to the old one in case something fails (this equals the behaviour before Pat's patch) - the kobject which was registered in cpufreq_add_dev was inside a variable private to this function -- so the whole cpufreq sysfs interface returned -EINVAL.
-
- 07 Mar, 2003 12 commits
-
-
Linus Torvalds authored
-
Linus Torvalds authored
-
bk://kernel.bkbits.net/gregkh/linux/initramfs-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Greg Kroah-Hartman authored
This also shows how to add files to the initramfs build, but is commented out. Patch originally done by Kai.
-
Greg Kroah-Hartman authored
-
bk://cifs.bkbits.net/linux-2.5cifsLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Steve French authored
Fix oops in getdfs when null path passed in on mount. Fix oops when changed readsize caused readpages problem. Add support for altering rsize so can reduce pages read across net below default of 4
-
Ingo Molnar authored
This fixes the SMP runqueue locking bug when updating the wakers priority. It also includes: - only update the priority and do a requeueing if the sleep average has changed. (this does not happen for pure CPU hogs or pure interactive tasks, so no need to requeue/recalc-prio in that case.) [All the necessary values are available at that point already, so gcc should have an easy job making this branch really cheap.] - do not do a full task activation in the migration-thread path - that is supposed to be near-atomic anyway. - fix up comments I solved the SMP locking bug by moving the requeueing outside of try_to_wake_up(). It does not matter that the priority update is not atomically done now, since the current process wont do anything inbetween. (well, it could get preempted in a preemptible kernel, but even that wont do any harm.)
-
Stephen Hemminger authored
The following messages are of interest only when debugging aio. Otherwise, they are just console clutter.
-
Matthew Wilcox authored
- Remove broken lock accounting - Introduce __locks_delete_block() - Stop using kdevname() - Fix locks_remove_posix()
-
Ingo Molnar authored
- fix a (now-) bug in kernel/softirq.c, it did a wakeup outside any atomic regions, which falsely identified random processes as a non-atomic wakeup, and which causes random priority boost to be distributed. - reset the initial idle thread's priority back to PRIO_MAX after doing the wakeup_forked_process() - correct preemption relies on this. - update current->prio immediately after a backboost. - clean up effective_prio() & sleep_avg calculations so that there are fewer RT-task special cases. This has the advantage of the sleep_avg being maintained even for RT tasks - this could be advantegous for tasks that briefly enter/exit RT mode.
-
Oleg Drokin authored
Seems there is a memleak on error exit path in drivers/char/vt.c, here's the patch. Found with help of smatch + enhanced unfree script.
-
- 06 Mar, 2003 20 commits
-
-
Ingo Molnar authored
__activate_task() and wake_up_forked_process() should call nr_running_inc(rq) rather than doing a rq->nr_running++. Noted by Rick Lindsley
-
Marc Zyngier authored
The console initcall patch that went in contains a typo that prevents alpha from building.
-
Marc Zyngier authored
The stack reducing patch that recently went in prevent alpha from building (missing some ELF_CORE_COPY_XFPREGS ifdefs). The excluded patch fixes it.
-
Zwane Mwaikambo authored
This one simply sets TARGET_CPUS to cpu_callout_map instead of cpu_online_map so that when we finally do boot we actually use the other cpus for servicing interrupts.
-
Martin J. Bligh authored
This change was wrong. pfn_to_nid is a macro.
-
Martin J. Bligh authored
NODE_THRESHOLD got accidentally dropped in the interactive scheduler changes merge. This puts it back.
-
David Gibson authored
Apple PowerBooks want <asm/prom.h> in ohci-pci.c for the prototype of pci_device_to_OF_node(). This patch adds it to the already present list of PowerBook specific #includes:
-
David Gibson authored
This squashes (gcc-3.2) "label and end of compound statement deprecated" warnings in usb-serial.c.
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://ldm.bkbits.net/linux-2.5-coreLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
-
Bjorn Helgaas authored
Make CONFIG_SYSCTL control sys32_sysctl as well. Based on a patch from Peter Chubb.
-
David Mosberger authored
-
Patrick Mochel authored
From Rusty Lynch: * makes sysfs cleanup the buffer->data allocated by the attribute write functions * fixes a bug that causes the kernel to oops when somebody attempts to write to the file.
-
Patrick Mochel authored
This patch was previously integrated, but dropped erroneously by a bk merge. This fixes file cleanup during a sysfs directory removal by deleting files from ->d_subdirs as they're iterated over, then checking if we can get a reference on them.
-
Jesse Barnes authored
Andy Grover told me this should be posted here. It allows ACPI to compile even with PCI turned off. Patch against 2.5.60.
-
Stephen Rothwell authored
ia 64 part of the patch. This gives you a 32 bit version of sys_futex (hopefully).
-
Linus Torvalds authored
concurrent renames in another directory. I doubt this can be triggered in practice, and the fix is a bit heavy-handed, but let's see if numbers can show that the simple fix doesn't show any real lock contention.
-
Linus Torvalds authored
-
Anton Blanchard authored
list.h must now include stddef since it uses NULL.
-