linux-kernel mailing list

FromSubjectsort iconDate
Tim Chen
Volanomark slows by 80% under CFS
Ingo, Volanomark slows by 80% with CFS scheduler on 2.6.23-rc1. Benchmark was run on a 2 socket Core2 machine. The change in scheduler treatment of sched_yield could play a part in changing Volanomark behavior. In CFS, sched_yield is implemented by dequeueing and requeueing a process . The time a process has spent running probably reduced the the cpu time due it by only a bit. The process could get re-queued pretty close to head of the queue, and may get scheduled again pretty quickly if...
Jul 27, 6:01 pm 2007
Cliff Wickman
ATA scsi driver misbehavior under kdump capture kernel
I've run into a problem with the ATA SCSI disk driver when running in a kdump dump-capture kernel. I'm running on 2-processor x86_64 box. It has 2 scsi disks, /dev/sda and /dev/sdb My kernel is 2.6.22, and built to be a dump capturing kernel loaded by kexec. When I boot this kernel by itself, it finds both sda and sdb. But when it is loaded by kexec and booted on a panic it only finds sda. Any ideas from those familiar with the ATA driver? -Cliff Wickman SGI I put some pr...
Jul 27, 7:42 pm 2007
Bill Nottingham
[PATCH] remove gratuitous space in airo module description
Currently the modinfo looks like: description: Support for Cisco/Aironet 802.11 wireless ethernet cards. Direct support for ISA/PCI/MPI cards and support for PCMCIA when used with airo_cs. Arguably, it should be cut at the end of the first sentence. This at least makes it somewhat more legible. diff -up linux-2.6.22.x86_64/drivers/net/wireless/airo.c.foo linux-2.6.22.x86_64/drivers/net/wireless/airo.c --- linux-2.6.22.x86_64/drivers/net/wireless/airo.c.foo 20...
Jul 27, 7:43 pm 2007
Richard Purdie
[PATCH] lzo: Add some missing casts
Add some casts to the LZO compression algorithm after they were removed during cleanup and shouldn't have been. Signed-off-by: Richard Purdie <rpurdie@openedhand.com> --- This fixes the reported problems for me, I've checked fairly carefully and I can't see any other issues. Edward, could you see if this resolves the problems in your case please? Index: linux-2.6.22/lib/lzo/lzo1x_compress.c =================================================================== --- linux-2.6.22.orig/lib/l...
Jul 27, 7:30 pm 2007
Gabriel C
UML compile error
Hi, UML does not compile on current git head. .... $ make defconfig ARCH=um [..] $ make ARCH=um scripts/kconfig/conf -s arch/um/Kconfig net/bluetooth/hidp/Kconfig:4:warning: 'select' used by config symbol 'BT_HIDP' refers to undefined symbol 'HID' drivers/net/wireless/Kconfig:552:warning: 'select' used by config symbol 'RTL8187' refers to undefined symbol 'EEPROM_93CX6' SYMLINK arch/um/include/kern_constants.h CHK arch/um/include/uml-config.h UPD arch/um/include/uml-config.h ...
Jul 27, 6:46 pm 2007
Andrew Morton
Re: UML compile error
On Sat, 28 Jul 2007 00:46:57 +0200 I suspect your build setup broke. Try `make mrproper' then have another go. -
Jul 27, 7:28 pm 2007
Gabriel C
Re: UML compile error
Right this auto build tree broke for some reason. A fresh git tree is fine , sorry for the noise. Gabriel -
Jul 27, 7:48 pm 2007
shacky
Re: Kernel modules compilation
Ok, how I can know what modules are needed and what not? Only knowing the hardware of my system? Another question please, what the symbol "---" near a kernel configuration entry in menuconfig means? This entry is activated (with * or M) or not? -
Jul 27, 6:52 pm 2007
Jesper Juhl
Re: Kernel modules compilation
Some of them I just knew from past experiences where to find, some of them are logical (like, obviously 'reiserfs' is found in the Filesystems submenu), some I searched for using "/" and a few I You're welcome. By the way; if you had taken the time to read the text at the top of the menuconfig interface you'd have known this already - "... Press <Esc><Esc> to exit, <?> for Help, </> for If you know the hardware of the system, the filesystems you use etc etc, then it should ...
Jul 27, 7:04 pm 2007
shacky
Re: Kernel modules compilation
Thank you very much for your help! Tomorrow I will try! :-) Bye! -
Jul 27, 7:40 pm 2007
Manuel Reimer
Problems with reading DVD using 2.6.21.5
Hello, today I've tried to install Slackware 12.0 As the installer just "skipped" some install steps, I tried to find the error. The problem seems to be unreadable parts on the DVD: http://pastebin.com/f381e8a88 But the DVD is OK. I've checked the MD5sum directly from disc on the same system using the same DVD drive. dmesg says: http://pastebin.com/f63c5c389 The kernel, used on the Slackware setup disk, uses SMP, but my hardware doesn't support this (get error on dmesg). May th...
Jul 27, 6:25 pm 2007
Alan Stern
Lockdep violation in the serial driver
I want to make some changes to the Power Management core, and one of the side effects will be to make it illegal for a driver to acquire a mutex within its suspend() or resume() method if that mutex was locked while the device was registered. Unfortunately the serial core does exactly that. In drivers/serial/serial_core.c the uart_add_one_port() routine holds state->mutex while calling tty_register_device(), and the same mutex is acquired by uart_suspend_port() and uart_resume_port(). Can...
Jul 27, 5:33 pm 2007
Jesper Juhl
[PATCH][sas] Fix potential NULL pointer dereference bug in s...
Hello, In sas_smp_get_phy_events() we never test if the call to alloc_smp_req(RPEL_REQ_SIZE) succeeds or fails. That means we run the risk of dereferencing a NULL pointer if it does fail. Far better to test if we got NULL back and in that case return -ENOMEM just as we already do for the other memory allocation in that function. This patch reworks the memory allocation a bit to deal with it (compile tested only). Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> --- drivers/...
Jul 27, 5:27 pm 2007
James Bottomley
Re: [PATCH][sas] Fix potential NULL pointer dereference bug ...
Just for the sake of being the same as all the rest of the code, the sequence should be req = alloc_smp_req(xxx_REQ_SIZE); if (!req) return -ENOMEM; resp = alloc_smp_resp(xxx_RESP_SIZE); if (!resp) { kfree(req); return -ENOMEM; } (allocate request then response). It looks like disc_resp could use a little love too (it's using the req alloc routines). James -
Jul 27, 7:02 pm 2007
Jesper Juhl
Re: [PATCH][sas] Fix potential NULL pointer dereference bug ...
Fair enough. It makes the code a bit larger though : My way, as per the original patch: text data bss dec hex filename 13820 0 8 13828 3604 drivers/scsi/libsas/sas_expander.o Your way, as per this patch: text data bss dec hex filename 13832 0 8 13840 3610 drivers/scsi/libsas/sas_expander.o I hope this patch is acceptable : In sas_smp_get_phy_events() we never test if the call to alloc_smp_req(RPEL_REQ_SIZE...
Jul 27, 7:13 pm 2007
Sam Ravnborg
[PATCH] alpha: fix two section mismatch warnings
Fix the following section mismatch warnings: WARNING: o-alpha/vmlinux.o(.text+0x1a4d4): Section mismatch: reference to .init.text:free_area_init (between 'paging_init' and 'srm_paging_stop') WARNING: o-alpha/vmlinux.o(.text+0x1a4dc): Section mismatch: reference to .init.text:free_area_init (between 'paging_init' and 'srm_paging_stop') One instance of paging_init() was declared __init but not the other one - used by defconfig. Fixed by declaring the second instance ___init too. Signed-off-by: Sam ...
Jul 27, 5:26 pm 2007
David Lamparter
[PATCH] ide: sis5513.c: Add FSC Amilo A1630 PCI subvendor/de...
[PATCH] ide: sis5513.c: Add FSC Amilo A1630 PCI subvendor/dev to laptops Recognise the FSC Amilo A1630's incarnation of a SiS5513 chip as laptop to get UDMA100 support. Signed-off-by: David Lamparter <equinox@diac24.net> --- drivers/ide/pci/sis5513.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/ide/pci/sis5513.c b/drivers/ide/pci/sis5513.c index 63fbb79..26f2480 100644 --- a/drivers/ide/pci/sis5513.c +++ b/drivers/ide/pci/sis5513.c @@ -801,6 +801,7 ...
Jul 27, 4:52 pm 2007
Alan Cox
Re: [PATCH] ide: sis5513.c: Add FSC Amilo A1630 PCI subvendo...
On Fri, 27 Jul 2007 22:52:43 +0200 Looks good to me - I've made a matching update to drivers/ata/pata_sis.c -
Jul 27, 6:40 pm 2007
Michal Piotrowski
Re: [2/2] 2.6.23-rc1: known regressions with patches v2
Hi all, Here is a list of some known regressions in 2.6.23-rc1 with patches available. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 6 Andi Kleen 4 Andrew Morton 4 Linus Torvalds 4 Al Viro 3 Jens Axboe ...
Jul 27, 4:53 pm 2007
Adrian Bunk
Re: [2/2] 2.6.23-rc1: known regressions with patches v2
There's a better patch available, updated entry: Subject : usbvision: don't return an uninitialized value References : http://lkml.org/lkml/2007/7/23/65 Last known good : ? Submitter : Adrian Bunk <bunk@stusta.de> Caused-By : Thierry MERLE <thierry.merle@free.fr> commit c5f48367fe54c46805774eeea8e828de54a5ad7b Handled-By : Trent Piepho <xyzzy@speakeasy.org> Patch : http://lkml.org/lkml/2007/7/23/114 cu Adrian -- ...
Jul 27, 5:20 pm 2007
Michal Piotrowski
[1/2] 2.6.23-rc1: known regressions with patches v2
Hi all, Here is a list of some known regressions in 2.6.23-rc1 with patches available. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 6 Andi Kleen 4 Andrew Morton 4 Linus Torvalds 4 Al Viro 3 Jens Axboe ...
Jul 27, 4:53 pm 2007
Luck, Tony
RE: [1/2] 2.6.23-rc1: known regressions with patches v2
Just sent the "please pull" message to Linus. The fix should show up in his tree soon as commit 7a6c813594c9eb25a9afbcbd30c9865e38ee6f39 -Tony -
Jul 27, 7:57 pm 2007
Michal Piotrowski
Re: [3/3] 2.6.23-rc1: known regressions v2
Hi all, Here is a list of some known regressions in 2.6.23-rc1. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 6 Andi Kleen 4 Andrew Morton 4 Linus Torvalds 4 Al Viro 3 Jens Axboe 3 Tejun Heo ...
Jul 27, 4:53 pm 2007
Michal Piotrowski
Re: [2/3] 2.6.23-rc1: known regressions v2
Hi all, Here is a list of some known regressions in 2.6.23-rc1. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 6 Andi Kleen 4 Andrew Morton 4 Linus Torvalds 4 Al Viro 3 Jens Axboe 3 Tejun Heo ...
Jul 27, 4:53 pm 2007
Michael Buesch
[PATCH 2] Merge the Sonics Silicon Backplane subsystem
The Sonics Silicon Backplane is a mini-bus used on various Broadcom chips and embedded devices. Devices using the SSB include b44, bcm43xx and various Broadcom based wireless routers. A b44 and bcm43xx port and a SSB based OHCI driver is available. Patch #2: This includes a compilation fix for nondebug build (d'oh) and various small fixes based on comments. Signed-off-by: Michael Buesch <mb@bu3sch.de> Acked-by: John Linville <linville@tuxdriver.com> diff --git a/drivers/Makefile b...
Jul 27, 4:55 pm 2007
Michal Piotrowski
[1/3] 2.6.23-rc1: known regressions v2
Hi all, Here is a list of some known regressions in 2.6.23-rc1. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces Name Regressions fixed since 21-Jun-2007 Adrian Bunk 6 Andi Kleen 4 Andrew Morton 4 Linus Torvalds 4 Al Viro 3 Jens Axboe 3 Tejun Heo ...
Jul 27, 4:53 pm 2007
Nick Pasich
Edgeport UPS Monitoring Problems
Greg/Peter/Al, I've been using the edgeport 4 port USB to Serial Converter to monitor APC Smart UPS's via apcupsd for quite awhile on various Linux boxes. I just upgraded to Kernel Version 2.6.22.1 from 2.6.20.6 on a couple of systems and both the edgeports stopped communicating. I tried applying various patches, "PATCH 026/149" and "PATCH 082/149" and one by Alan Cox.. but they didn't fix the problem. I copied the 2.6.20.6 edgeport module sources to the new 2.6.22.1 tree and everyt...
Jul 27, 4:37 pm 2007
Andrew Morton
Re: Edgeport UPS Monitoring Problems
On Fri, 27 Jul 2007 13:37:08 -0700 Straightforward regression, most serious. Thanks for reporting it. -
Jul 27, 6:22 pm 2007
Randy Dunlap
[PATCH] sched: fix kernel-doc warnings
From: Randy Dunlap <randy.dunlap@oracle.com> Fix kernel-doc warnings in sched.c: Warning(linux-2623-rc1g4//kernel/sched.c:1685): No description found for parameter 'notifier' Warning(linux-2623-rc1g4//kernel/sched.c:1696): No description found for parameter 'notifier' Warning(linux-2623-rc1g4//kernel/sched.c:1750): No description found for parameter 'prev' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- kernel/sched.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 del...
Jul 27, 3:31 pm 2007
Neil Horman
[PATCH 3/3] core_pattern: fix up a few miscelaneous bugs
Hey This patch fixes up a few bugs I found while testing my other work. Specifically: 1) Fixes call_usermodehelper_pipe to not wait for program exit on the user mode helper process. Since this context fill the pipe. The user mode helper, if it reads stdin, will block waiting for the pipe to have data on it, and we will wait forever for the usermodehelper to exit. Changed this to wait only for a successful exec. 2) Fixes do_coredump to detect a crash in the user mode helper process and abort ...
Jul 27, 4:13 pm 2007
Neil Horman
[PATCH 2/3] core_pattern: allow passing of arguments to user...
Hey Patch 2/3 of my core_pattern enhancements. This patch is a rewrite of my previous post for this enhancement. It uses jeremy's split_argv/free_argv library functions to translate core_pattern into an argv array to be passed to the user mode helper process. It also adds a translation to format_corename such that the origional value of RLIMIT_CORE can be passed to userspace as an argument. Thanks & Regards Neil Signed-off-by: Neil Horman <nhorman@tuxdriver.com> exec.c | 2...
Jul 27, 4:08 pm 2007
Jeremy Fitzhardinge
Re: [PATCH 2/3] core_pattern: allow passing of arguments to ...
Hm, I suspect most users of argv_split don't really care about argc, so it would useful to change argv_split to take NULL as the argc pointer, rather than declare a bunch of unused variables. Interested in throwing a patch together? J -
Jul 27, 4:54 pm 2007
Balbir Singh
[-mm PATCH 0/9] Memory controller introduction (v4)
Here's version 4 of the memory controller. Changelog since version 3 1. Ported to v11 of the containers patchset (2.6.23-rc1-mm1). Paul Menage helped immensely with a detailed review of v3 2. Reclaim is retried to allow reclaim of pages coming in as a result of mapped pages reclaim (swap cache growing as a result of RSS reclaim) 3. page_referenced() is now container aware. During container reclaim, references from other containers do not prevent a page from being reclaimed from a non...
Jul 27, 4:09 pm 2007
Balbir Singh
[-mm PATCH 8/9] Memory controller add switch to control what...
Choose if we want cached pages to be accounted or not. By default both are accounted for. A new set of tunables are added. echo -n 1 > mem_control_type switches the accounting to account for only mapped pages echo -n 2 > mem_control_type switches the behaviour back Signed-off-by: <balbir@linux.vnet.ibm.com> --- include/linux/memcontrol.h | 9 ++++ mm/filemap.c | 2 mm/memcontrol.c | 92 ++++++++++++++++++++++++++++++++++++++++++++- mm/s...
Jul 27, 4:11 pm 2007
Balbir Singh
[-mm PATCH 9/9] Memory controller make page_referenced() con...
Make page_referenced() container aware. Without this patch, page_referenced() can cause a page to be skipped while reclaiming pages. This patch ensures that other containers do not hold pages in a particular container hostage. It is required to ensure that shared pages are freed from a container when they are not actively referenced from the container that brought them in Signed-off-by: <balbir@linux.vnet.ibm.com> --- include/linux/memcontrol.h | 6 ++++++ include/linux/rmap.h ...
Jul 27, 4:11 pm 2007
Balbir Singh
[-mm PATCH 2/9] Memory controller containers setup (v4)
Changelong 1. use depends instead of select in init/Kconfig 2. Port to v11 3. Clean up the usage of names (container files) for v11 Setup the memory container and add basic hooks and controls to integrate and work with the container. Signed-off-by: <balbir@linux.vnet.ibm.com> --- include/linux/container_subsys.h | 6 + include/linux/memcontrol.h | 21 ++++++ init/Kconfig | 7 ++ mm/Makefile | 1 mm/memcontrol.c ...
Jul 27, 4:09 pm 2007
Balbir Singh
[-mm PATCH 7/9] Memory controller OOM handling (v4)
From: Pavel Emelianov <xemul@openvz.org> Out of memory handling for containers over their limit. A task from the container over limit is chosen using the existing OOM logic and killed. TODO: 1. As discussed in the OLS BOF session, consider implementing a user space policy for OOM handling. Signed-off-by: Pavel Emelianov <xemul@openvz.org> Signed-off-by: <balbir@linux.vnet.ibm.com> --- include/linux/memcontrol.h | 1 + mm/memcontrol.c | 1 + mm/oom_k...
Jul 27, 4:10 pm 2007
Balbir Singh
[-mm PATCH 5/9] Memory controller task migration (v4)
Allow tasks to migrate from one container to the other. We migrate mm_struct's mem_container only when the thread group id migrates. Signed-off-by: <balbir@linux.vnet.ibm.com> --- mm/memcontrol.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff -puN mm/memcontrol.c~mem-control-task-migration mm/memcontrol.c --- linux-2.6.23-rc1-mm1/mm/memcontrol.c~mem-control-task-migration 2007-07-28 01:12:50.000000000 +0530 +++ linux-2.6.23-rc1-mm1-balbir/mm/memcon...
Jul 27, 4:10 pm 2007
Balbir Singh
[-mm PATCH 4/9] Memory controller memory accounting (v4)
Changelog for v3 1. Fix a probable leak with meta_page's (pointed out by Paul Menage) 2. Introduce a wrapper around mem_container_uncharge for uncharging pages mem_container_uncharge_page() Changelog 1. Improved error handling, uncharge on errors and check to see if we are leaking pages (review by YAMAMOTO Takashi) Add the accounting hooks. The accounting is carried out for RSS and Page Cache (unmapped) pages. There is now a common limit and accounting for both. The RSS accounting i...
Jul 27, 4:10 pm 2007
Balbir Singh
[-mm PATCH 6/9] Memory controller add per container LRU and ...
Changelog since v3 1. Added reclaim retry logic to avoid being OOM'ed due to pages from swap cache (coming in due to reclaim) don't overwhelm the container. Changelog 1. Fix probable NULL pointer dereference based on review comments by YAMAMOTO Takashi Add the meta_page to the per container LRU. The reclaim algorithm has been modified to make the isolate_lru_pages() as a pluggable component. The scan_control data structure now accepts the container on behalf of which reclaims are carr...
Jul 27, 4:10 pm 2007
Balbir Singh
[-mm PATCH 3/9] Memory controller accounting setup (v4)
From: Pavel Emelianov <xemul@openvz.org> Changelog As per Paul's review comments 1. Drop css_get() for the root memory container 2. Use mem_container_from_task() as an optimization instead of using mem_container_from_cont() along with task_container. Basic setup routines, the mm_struct has a pointer to the container that it belongs to and the the page has a meta_page associated with it. Signed-off-by: Pavel Emelianov <xemul@openvz.org> Signed-off-by: <balbir@linux.vnet...
Jul 27, 4:10 pm 2007
Balbir Singh
[-mm PATCH 1/9] Memory controller resource counters (v4)
From: Pavel Emelianov <xemul@openvz.org> Introduce generic structures and routines for resource accounting. Each resource accounting container is supposed to aggregate it, container_subsystem_state and its resource-specific members within. Signed-off-by: Pavel Emelianov <xemul@openvz.org> Signed-off-by: <balbir@linux.vnet.ibm.com> --- include/linux/res_counter.h | 102 +++++++++++++++++++++++++++++++++++++ init/Kconfig | 7 ++ kernel/Makefile ...
Jul 27, 4:09 pm 2007
Neil Horman
[PATCH 1/3] core_pattern: ignore RLIMIT_CORE if core_pattern...
Hey, Patch 1/3 for the core_pattern enhancements. This removes the check of RLIMIT_CORE if core_pattern is a pipe. In the event that core_pattern is a pipe, the entire core will be fed to the user mode helper. Thanks & Regards Neil Signed-off-by: Neil Horman <nhorman@tuxdriver.com> arch/mips/kernel/irixelf.c | 5 ++--- arch/sparc64/kernel/binfmt_aout32.c | 10 ++++------ arch/x86_64/ia32/ia32_aout.c | 10 ++++------ fs/binfmt_aout.c ...
Jul 27, 4:03 pm 2007
Neil Horman
[PATCH 0/3] core_pattern: cleaned up repost/continuing post ...
Ok, here we go As promised, I'm reposting the core_pattern enhancements I've done over the past few days. These three patches replace and conintue the work contained in the following patches, and can replace them: update-coredump-path-in-kernel-to-not-check-coredump-rlim-if-core_pattern-is-a-pipe.patch allow-individual-core-dump-methods-to-be-unlimited-when-sending-to-a-pipe.patch allow-individual-core-dump-methods-to-be-unlimited-when-sending-to-a-pipe-fix.patch allow-individual-core-dump-methods...
Jul 27, 4:00 pm 2007
dth
ide problems: 2.6.22-git17 working, 2.6.23-rc1* is not
I have a via mini-itx epia 5000 motherboard as a firewall. It has an ide device: PQI 128MB flash DOM [1] which just plugs directly into the ide connector on the motherboard. 2.6.22-git17 works, although it gives some warning hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error } hda: set_drive_speed_status: error=0x04 { DriveStatusError } Full dmesg output [2] When i compiled any 2.6.23-rc1 kernel out so far it always froze on me. Yesterday i tried 2.6.23-rc1-git3 and i booted...
Jul 27, 3:38 pm 2007
Jesper Juhl
[PATCH][sas] Fix potential NULL pointer dereference bug in s...
Hi, The Coverity checker found a problem in drivers/scsi/libsas/sas_expander.c::sas_smp_handler(). We dereference a pointer before testing if it is NULL. Easily fixed in this case by simply moving an assignment down a bit. Please consider for inclusion. Patch has been compile tested only. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> --- drivers/scsi/libsas/sas_expander.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/libsas/s...
Jul 27, 3:58 pm 2007
Randy Dunlap
[PATCH] pnp: fix kernel-doc warnings
From: Randy Dunlap <randy.dunlap@oracle.com> Fix PNP docbook warnings: Warning(linux-2623-rc1g4//drivers/pnp/core.c): no structured comments found Warning(linux-2623-rc1g4//drivers/pnp/driver.c): no structured comments found Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- Documentation/DocBook/kernel-api.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-2623-rc1g4.orig/Documentation/DocBook/kernel-api.tmpl +++ linux-2623-rc1g4/Documentation/D...
Jul 27, 3:31 pm 2007
Al Boldi
swap-prefetch: A smart way to make good use of idle resourc...
IMHO, what everybody agrees on, is that swap-prefetch has a positive effect in some cases, and nobody can prove an adverse effect (excluding power consumption). The reason for this positive effect is also crystal clear: It prefetches from swap on idle into free memory, ie: it doesn't force anybody out, and they are the first to be dropped without further swap-out, which sounds really smart. Conclusion: Either prove swap-prefetch is broken, or get this merged quick. Thanks! -- Al ...
Jul 27, 3:43 pm 2007
Arjan van de Ven
Re: swap-prefetch: A smart way to make good use of idle res...
the fact that there is free memory is ... strange. IN principle, Linux keeps almost no memory free (except some emergency buffers) so that things you swap in prematurely will BY DEFINITION go at the expense of other things that could be there.... also, they take up seek time (5 to 10 msec), so if you were to read something else at the time you get additional latency. so the conclusion that it only can be better (if you don't care about power) is imo premature. Sure it still can be worth it,...
Jul 27, 4:34 pm 2007
Indan Zupancic
Re: swap-prefetch: A smart way to make good use of idle res...
It's not strange, the use case here is if something memory hungry process is shut down it leaves behind a lot of free memory. Having things swapped If there's other disk activity swap prefetch shouldn't do much, so this isn't There are a whole lot of other requirements too than that it isn't broken (of which most are fulfilled, but anyway). One reason could be that there's a better solution out there for the problem swap prefetch tries to solve. That said, as swap prefetch is here now for a whil...
Jul 27, 5:51 pm 2007
previous daytodaynext day
July 26, 2007July 27, 2007July 28, 2007