Re: [PATCH] get rid of NR_OPEN and introduce a sysctl_nr_open

2007-11-26 Thread Eric Dumazet
[EMAIL PROTECTED] a écrit : On Tue, 27 Nov 2007 08:09:19 +0100, Eric Dumazet said: Changing NR_OPEN is not considered safe because of vmalloc space potential exhaust. Verbiage about this point... +nr_open +--- + +Denotes the maximum number of file-handles a process can +allocate.

Re: 2.6.24-rc3-mm1 - brick my Dell Latitude D820

2007-11-26 Thread Valdis . Kletnieks
On Mon, 26 Nov 2007 23:27:03 PST, Andrew Morton said: > > git-x86.patch > > git-x86-fixup.patch > > git-x86-thread_order-borkage.patch > > git-x86-thread_order-borkage-fix.patch > > git-x86-identify_cpu-fix.patch > > git-x86-memory_add_physaddr_to_nid-export-for-acpi-memhotplugko.patch > >

Re: [RFC] Documentation about unaligned memory access

2007-11-26 Thread Kumar Gala
On Nov 23, 2007, at 5:43 AM, Heikki Orsila wrote: On Fri, Nov 23, 2007 at 12:15:53AM +, Daniel Drake wrote: Why unaligned access is bad === Most architectures are unable to perform unaligned memory accesses. Any unaligned access causes a processor exception.

Re: [patch 11/14] Powerpc: Use generic per cpu

2007-11-26 Thread Kumar Gala
On Nov 26, 2007, at 6:14 PM, Christoph Lameter wrote: Powerpc has a way to determine the address of the per cpu area of the currently executing processor via the paca and the array of per cpu offsets is avoided by looking up the per cpu area from the remote paca's (copying x86_64). Cc: Paul

Re: Booting latest linux kernel(2.6.20) on MPC8548ECDS

2007-11-26 Thread Kumar Gala
On Nov 26, 2007, at 11:54 PM, rajendra prasad wrote: Hi, I am using MPC8548ECDS board from CDS for my telecom application. I am able to build 2.6.10 linux kernel and boot 2.6.10 kernel on MPC8548ECDS board.When I take same configuration file and built successfully but not able to boot on

Re: 2.6.24-rc3-mm1 - brick my Dell Latitude D820

2007-11-26 Thread Andrew Morton
On Tue, 27 Nov 2007 02:16:26 -0500 [EMAIL PROTECTED] wrote: > On Tue, 20 Nov 2007 20:45:25 PST, Andrew Morton said: > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc3/2.6.24-rc3-mm1/ > > Finally got both time and motivation to at least start a bisect.. > >

Re: [PATCH] get rid of NR_OPEN and introduce a sysctl_nr_open

2007-11-26 Thread Valdis . Kletnieks
On Tue, 27 Nov 2007 08:09:19 +0100, Eric Dumazet said: > Changing NR_OPEN is not considered safe because of vmalloc space potential > exhaust. Verbiage about this point... > +nr_open > +--- > + > +Denotes the maximum number of file-handles a process can > +allocate. Default value is

Re: 2.6.24-rc3-mm1 - brick my Dell Latitude D820

2007-11-26 Thread Valdis . Kletnieks
On Tue, 20 Nov 2007 20:45:25 PST, Andrew Morton said: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc3/2.6.24-rc3-mm1/ Finally got both time and motivation to at least start a bisect.. 2.6.23-mm1 works on my D820 (x86_64 kernel, Core2 Duo T7200) 24-rc3-mm1 (plus 3

patch driver-core-fix-race-in-__device_release_driver.patch added to gregkh-2.6 tree

2007-11-26 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: Driver core: fix race in __device_release_driver to my gregkh-2.6 tree. Its filename is driver-core-fix-race-in-__device_release_driver.patch This tree can be found at

[PATCH] get rid of NR_OPEN and introduce a sysctl_nr_open

2007-11-26 Thread Eric Dumazet
As changing NR_OPEN from 1024*1024 to 16*1024*1024 was considered a litle bit dangerous, just let it default to 1024*1024 but adds a new sysctl to let sysadmins change this value. Thank you [PATCH] get rid of NR_OPEN and introduce a sysctl_nr_open NR_OPEN (historically set to 1024*1024)

Re: [PATCH] dmaengine: Driver for the AVR32 DMACA controller

2007-11-26 Thread Andrew Morton
This: > Subject: Re: [PATCH] dmaengine: Driver for the AVR32 DMACA controller in no way describes this: > This patch corrects recently changed (and now invalid) Kconfig > descriptions for the DMA engine framework: grr. - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

[PATCH] [VIDEO]: Complement va_start() with va_end().

2007-11-26 Thread Richard Knutsson
Complement va_start() with va_end(). Signed-off-by: Richard Knutsson <[EMAIL PROTECTED]> --- Compile-tested on i386 with allyesconfig and allmodconfig. diff --git a/drivers/media/video/saa5246a.c b/drivers/media/video/saa5246a.c index ad02329..996b494 100644 --- a/drivers/media/video/saa5246a.c

Re: [2.6 patch] make I/O schedulers non-modular

2007-11-26 Thread Jarek Poplawski
On 25-11-2007 18:22, Jens Axboe wrote: > On Sun, Nov 25 2007, Adrian Bunk wrote: ... >> Is there any technical reason why we need 4 different schedulers at all? > > Until we have the perfect scheduler :-) IMHO this is not enough yet. There is something called "the right of choice", and, it

RE: [PATCH] [NET]: Fix TX bug VLAN in VLAN

2007-11-26 Thread Joonwoo Park
2007/11/27, Herbert Xu <[EMAIL PROTECTED]>: > On Tue, Nov 27, 2007 at 02:32:49PM +0900, Joonwoo Park wrote: > > > > Thanks Herbert. > > Well.. I think patch would work propely for AF_PACKET also. > > (I did not insert BUG() macro in my patch) > > How do you think? > > Are you sure? I thought you

Re: [PATCH] utsns: Restore proper namespace handling.

2007-11-26 Thread Andrew Morton
On Mon, 26 Nov 2007 09:19:17 -0600 "Serge E. Hallyn" <[EMAIL PROTECTED]> wrote: > Quoting Eric W. Biederman ([EMAIL PROTECTED]): > > > > When CONFIG_UTS_NS was removed it seems that we also deleted > > the code for handling sysctls in the other then the initial > > uts namespace. This patch

Re: [PATCH 2.6.24-rc3-mm1] IPC: consolidate sem_exit_ns(), msg_exit_ns and shm_exit_ns()

2007-11-26 Thread Andrew Morton
On Mon, 26 Nov 2007 22:44:38 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > On Fri, 23 Nov 2007 17:52:50 +0100 Pierre Peiffer <[EMAIL PROTECTED]> wrote: > > > sem_exit_ns(), msg_exit_ns() and shm_exit_ns() are all called when an > > ipc_namespace is > > released to free all ipcs of each type.

Re: [PATCH 2.6.24-rc3-mm1] IPC: consolidate sem_exit_ns(), msg_exit_ns and shm_exit_ns()

2007-11-26 Thread Andrew Morton
On Fri, 23 Nov 2007 17:52:50 +0100 Pierre Peiffer <[EMAIL PROTECTED]> wrote: > sem_exit_ns(), msg_exit_ns() and shm_exit_ns() are all called when an > ipc_namespace is > released to free all ipcs of each type. > But in fact, they do the same thing: they loop around all ipcs to free them >

Re: [PATCH] [NET]: Fix TX bug VLAN in VLAN

2007-11-26 Thread Herbert Xu
On Tue, Nov 27, 2007 at 02:32:49PM +0900, Joonwoo Park wrote: > > Thanks Herbert. > Well.. I think patch would work propely for AF_PACKET also. > (I did not insert BUG() macro in my patch) > How do you think? Are you sure? I thought you need to check both in the xmit function. That is,

out of office

2007-11-26 Thread Christine Abraham
I am responding to the oil spill in San Francisco Bay and will have very limited email contact for the forseeable future. If this is urgent, please call my cell phone (415-717-6348), and I'll get back to you as soon as possible. Thanks for your patience, Christine Abraham Christine

[GIT PULL] please pull infiniband.git

2007-11-26 Thread Roland Dreier
Linus, please pull from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This tree is also available from kernel.org mirrors at: git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This will pull some small fixes for 2.6.24: Erez

Re: 2.6.24-rc3-mm1

2007-11-26 Thread Andrew Morton
On Fri, 23 Nov 2007 06:55:41 +0100 Gabriel C <[EMAIL PROTECTED]> wrote: > Andrew Morton wrote: > > On Fri, 23 Nov 2007 02:39:08 +0100 Gabriel C <[EMAIL PROTECTED]> wrote: > > > >> I have some warnings on each SCSI disc: > >> > >> > >> ... > >> > >> [ 30.724410] scsi 0:0:0:0: Direct-Access

Re: [2.6 patch] remove CONFIG_EXPERIMENTAL

2007-11-26 Thread Valdis . Kletnieks
On Mon, 26 Nov 2007 23:34:11 EST, Dave Jones said: > On Mon, Nov 26, 2007 at 10:44:44PM -0500, [EMAIL PROTECTED] wrote: > > > I suspect that given the "once it escapes, it's cast in stone" view we take > > towards user-visible API/etc, there isn't much *real* room for an > > 'EXPERIMENTAL'

Re: [PATCH 38/54] efivars: remove new_var and del_var files from sysfs

2007-11-26 Thread Greg KH
On Fri, Nov 16, 2007 at 09:01:16AM -0600, Matt Domsch wrote: > On Fri, Nov 02, 2007 at 04:59:16PM -0700, Greg Kroah-Hartman wrote: > > WTF? Passing binary structures into a sysfs file, expecting it to be in > > the correct format/endianness? That's just wrong on so many levels. > > > > So,

Re: WARNING: at kernel/resource.c:189 __release_resource

2007-11-26 Thread Andrew Morton
On Thu, 22 Nov 2007 22:41:16 +0100 Jiri Slaby <[EMAIL PROTECTED]> wrote: > Hi, > > Step aside. What's the purpose of having two similar patches for one issue, > it then warns about the same thing twice: > make-sure-nobodys-leaking-resources.patch > releasing-resources-with-children.patch Oh

Re: [PATCH RFC] [1/9] Core module symbol namespaces code and intro.

2007-11-26 Thread Tom Tucker
On Tue, 2007-11-27 at 15:49 +1100, Rusty Russell wrote: > On Monday 26 November 2007 17:15:44 Roland Dreier wrote: > > > Except C doesn't have namespaces and this mechanism doesn't create them. > > > So this is just complete and utter makework; as I said before, noone's > > > going to confuse

[git pull] Input updates for 2.6.24-rc3

2007-11-26 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. Changelog: - Aristeu Rozanski (2): Input: add

Re: [PATCH 1/1] [INPUT/KEYPAD] Blackfin BF54x keypad driver: keypad does not exist on BF544 parts

2007-11-26 Thread Dmitry Torokhov
On Friday 23 November 2007, Bryan Wu wrote: > From: Mike Frysinger <[EMAIL PROTECTED]> > > Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> > Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> Applied, thank you Mike & Bryan. -- Dmitry - To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] mmc: Add missing sg_init_table() call

2007-11-26 Thread Pierre Ossman
On Mon, 26 Nov 2007 21:29:55 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > > Pierre, I can queue this up but if you merge it into your tree I shall drop > it and shall lose track of it. So it's then all down to you to remember to > get the fix into 2.6.24. > > (Except this particular bug

Booting latest linux kernel(2.6.20) on MPC8548ECDS

2007-11-26 Thread rajendra prasad
Hi, I am using MPC8548ECDS board from CDS for my telecom application. I am able to build 2.6.10 linux kernel and boot 2.6.10 kernel on MPC8548ECDS board.When I take same configuration file and built successfully but not able to boot on MPC8548E CDS board.I am using u-boot-1.1.6 as boot loader.I

Re: [PATCH 1/1] mm: add dirty_highmem option

2007-11-26 Thread Andrew Morton
On Tue, 27 Nov 2007 16:24:24 +1100 "Bron Gondwana" <[EMAIL PROTECTED]> wrote: > On Mon, 26 Nov 2007 20:54:28 -0800, "Andrew Morton" <[EMAIL PROTECTED]> said: > > On Thu, 22 Nov 2007 14:42:04 +1100 Bron Gondwana <[EMAIL PROTECTED]> > > wrote: > > > > > /* > > > + * free highmem will not be

Re: freeze vs freezer

2007-11-26 Thread Matthew Garrett
On Mon, Nov 26, 2007 at 10:53:34PM +0100, Rafael J. Wysocki wrote: > On Monday, 26 of November 2007, David Chinner wrote: > > So how do you handle threads that are blocked on I/O or a lock during > > the system freeze process, then? > > We wait until they can continue. So if I have a process

Re: Dynticks Causing High Context Switch Rate in ksoftirqd

2007-11-26 Thread Arjan van de Ven
On Mon, 26 Nov 2007 22:36:17 -0600 Robert Hancock <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Question: Why is ksoftirqd eating about 5 to 10 percent of my CPU > > on an idle system? The problem occurs if I config the kernel with > > tickless support (i.e. CONFIG_TICK_ONESHOT=y).

Re: Error returns not handled correctly by sysfs.c:subsys_attr_store()

2007-11-26 Thread Tejun Heo
Greg KH wrote: > On Mon, Nov 26, 2007 at 08:31:16PM -0800, Andrew Morton wrote: >> On Wed, 21 Nov 2007 15:16:59 -0700 Andrew Patterson <[EMAIL PROTECTED]> >> wrote: >> >>> The buf in fs/sysfs.c:subsys_attr_store() does not seem to be updated >>> correctly when returning a negative value

Re: Error returns not handled correctly by sysfs.c:subsys_attr_store()

2007-11-26 Thread Greg KH
On Mon, Nov 26, 2007 at 08:31:16PM -0800, Andrew Morton wrote: > On Wed, 21 Nov 2007 15:16:59 -0700 Andrew Patterson <[EMAIL PROTECTED]> wrote: > > > The buf in fs/sysfs.c:subsys_attr_store() does not seem to be updated > > correctly when returning a negative value (indicating that an error > >

Re: [PATCH] Add iSCSI IBFT Support (v0.3)

2007-11-26 Thread Greg KH
On Mon, Nov 26, 2007 at 11:50:10PM -0500, Konrad Rzeszutek wrote: > > > > > > sysfs files have ONE VALUE PER FILE, not a whole bunch of different > > > things in a single file. Please fix this. > > > > The subparameters _are_ actually part of a single value, that value being > > associated with

Re: [PATCH] Add iSCSI IBFT Support (v0.3)

2007-11-26 Thread Greg KH
On Mon, Nov 26, 2007 at 11:23:31PM -0500, Konrad Rzeszutek wrote: > On Monday 26 November 2007 22:31:38 Greg KH wrote: > > > +#if defined(CONFIG_ISCSI_IBFT) || defined(CONFIG_ISCSI_IBFT_MODULE) > ..snip.. > > > +static ssize_t find_ibft(void) > > > +{ > ..snip.. > > > +} > > > > What is a function

Re: [PATCH] [NET]: Fix TX bug VLAN in VLAN

2007-11-26 Thread Joonwoo Park
2007/11/26, Herbert Xu <[EMAIL PROTECTED]>: > On Fri, Nov 23, 2007 at 12:12:52PM +, Joonwoo Park wrote: > > This patch fixes http://bugzilla.kernel.org/show_bug.cgi?id=8766 > > > > Is it possible? > > BUG((veth->h_vlan_proto != htons(ETH_P_8021Q)) && > > !(VLAN_DEV_INFO(dev)->flags &

Re: [PATCH] mmc: Add missing sg_init_table() call

2007-11-26 Thread Andrew Morton
On Thu, 22 Nov 2007 20:32:51 +0100 Haavard Skinnemoen <[EMAIL PROTECTED]> wrote: > mmc_init_queue only initializes the scatterlists with sg_init_table() > when using a bounce buffer. This leads to a BUG() when CONFIG_DEBUG_SG > is set. > I assume that 2.6.23 is not afflicted in this way? > ---

Re: [PATCH 1/1] mm: add dirty_highmem option

2007-11-26 Thread Bron Gondwana
On Mon, 26 Nov 2007 20:54:28 -0800, "Andrew Morton" <[EMAIL PROTECTED]> said: > On Thu, 22 Nov 2007 14:42:04 +1100 Bron Gondwana <[EMAIL PROTECTED]> > wrote: > > > /* > > + * free highmem will not be subtracted from the total free memory > > + * for calculating free ratios if vm_dirty_highmem is

Re: Linux 2.6.23.9

2007-11-26 Thread Valdis . Kletnieks
On Tue, 27 Nov 2007 02:39:08 +0100, Patrick McHardy said: > Tomasz K wrote: > > On Mon, 26 Nov 2007, Greg Kroah-Hartman wrote: > > [..] > > > > Still there is no aroud officialy released iptables tarball with > > support for rules for new xt_{connlimit,time,u32} modules. > > Anyone know where are

Re: [PATCH][SHMEM] Factor out sbi->free_inodes manipulations

2007-11-26 Thread Andrew Morton
On Fri, 23 Nov 2007 13:41:55 + (GMT) Hugh Dickins <[EMAIL PROTECTED]> wrote: > Looks good, but we can save slightly more there (depending on config), > and I found your inc/dec names a little confusing, since the count is > going the other way: how do you feel about this version? (I'd like

Re: [patch 04/14] ia64: Remove the __SMALL_ADDR_AREA attribute for per cpu access

2007-11-26 Thread David Mosberger-Tang
On 11/26/07, Christoph Lameter <[EMAIL PROTECTED]> wrote: > The model(small) attribute is not supported by gcc 4.X. The tests > will always be negative today. What was the rationale for removing this attribute? --david - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

[Patch 5/5] sched: Improve fairness of cpu bandwidth allocation for task groups

2007-11-26 Thread Srivatsa Vaddagiri
The current load balancing scheme isn't good for group fairness. For ex: on a 8-cpu system, I created 3 groups as under: a = 8 tasks (cpu.shares = 1024) b = 4 tasks (cpu.shares = 1024) c = 3 tasks (cpu.shares = 1024) a, b and c are task groups that have equal weight.

Re: [PATCH] Add iSCSI IBFT Support (v0.3)

2007-11-26 Thread Doug Maxey
On Mon, 26 Nov 2007 19:31:38 PST, Greg KH wrote: > On Mon, Nov 26, 2007 at 06:56:42PM -0400, Konrad Rzeszutek wrote: > > +/* > > + * Routines for reading of the iBFT data in a human readable fashion. > > + */ > > +ssize_t ibft_attr_show_initiator(struct ibft_kobject *entry, > > +

[Patch 4/5] sched: introduce a mutex and corresponding API to serialize access to doms_cur[] array

2007-11-26 Thread Srivatsa Vaddagiri
doms_cur[] array represents various scheduling domains which are mutually exclusive. Currently cpusets code can modify this array (by calling partition_sched_domains()) as a result of user modifying sched_load_balance flag for various cpusets. This patch introduces a mutex and corresponding API

Re: [PATCH] [RESEND] crypto test: use print_hex_dump from kernel.h instead

2007-11-26 Thread rae l
On Nov 27, 2007 10:58 AM, Richard Knutsson <[EMAIL PROTECTED]> wrote: ... > > + print_hex_dump(KERN_CONT, "", DUMP_PREFIX_OFFSET, > > + 16, 1, > > + buf, len, 0); > > > Not important, but why use '0' instead of 'false'? after read

Re: time accounting problem (powerpc only?)

2007-11-26 Thread Tony Breeds
On Mon, Nov 26, 2007 at 05:23:13PM +0100, Johannes Berg wrote: > Contrary to what I claimed later in the thread, my 64-bit powerpc box > (quad-core G5) doesn't suffer from this problem. > > Does anybody have any idea? I don't even know how to debug it further. I'll see if I can grab an

[Patch 3/5 v2] sched: change how cpu load is calculated

2007-11-26 Thread Srivatsa Vaddagiri
This patch changes how the cpu load exerted by fair_sched_class tasks is calculated. Load exerted by fair_sched_class tasks on a cpu is now a summation of the group weights, rather than summation of task weights. Weight exerted by a group on a cpu is dependent on the shares allocated to it. This

Re: [PATCH RFC] [1/9] Core module symbol namespaces code and intro.

2007-11-26 Thread Rusty Russell
On Monday 26 November 2007 17:15:44 Roland Dreier wrote: > > Except C doesn't have namespaces and this mechanism doesn't create them. > > So this is just complete and utter makework; as I said before, noone's > > going to confuse all those udp_* functions if they're not in the udp > >

[Patch 3/5 v1] sched: change how cpu load is calculated

2007-11-26 Thread Srivatsa Vaddagiri
This patch changes how the cpu load exerted by fair_sched_class tasks is calculated. Load exerted by fair_sched_class tasks on a cpu is now a summation of the group weights, rather than summation of task weights. Weight exerted by a group on a cpu is dependent on the shares allocated to it. This

[Patch 2/5] sched: minor fixes for group scheduler

2007-11-26 Thread Srivatsa Vaddagiri
Minor bug fixes for group scheduler: - Use a mutex to serialize add/remove of task groups and also when changing shares of a task group. Use the same mutex when printing cfs_rq stats for various task groups. - Use list_for_each_entry_rcu in for_each_leaf_cfs_rq macro (when walking task

Re: [PATCH] Add iSCSI IBFT Support (v0.3)

2007-11-26 Thread Konrad Rzeszutek
> > > > sysfs files have ONE VALUE PER FILE, not a whole bunch of different > > things in a single file. Please fix this. > > The subparameters _are_ actually part of a single value, that value being > associated with the initiator instance. > > Konrad is trying to implement a "work-alike" for

[Patch 1/5] sched: code cleanup

2007-11-26 Thread Srivatsa Vaddagiri
Minor cleanups: - Fix coding style - remove obsolete comment Signed-off-by: Srivatsa Vaddagiri <[EMAIL PROTECTED]> --- kernel/sched.c | 21 +++-- 1 files changed, 3 insertions(+), 18 deletions(-) Index: current/kernel/sched.c

Re: [PATCH 1/1] mm: add dirty_highmem option

2007-11-26 Thread Andrew Morton
On Thu, 22 Nov 2007 14:42:04 +1100 Bron Gondwana <[EMAIL PROTECTED]> wrote: > /* > + * free highmem will not be subtracted from the total free memory > + * for calculating free ratios if vm_dirty_highmem is true > + */ > +int vm_dirty_highmem; One would expect that setting dirty_highmem to true

[Patch 0/5] sched: group scheduler related patches (V4)

2007-11-26 Thread Srivatsa Vaddagiri
On Mon, Nov 26, 2007 at 09:28:36PM +0100, Ingo Molnar wrote: > the first SCHED_RR priority is 1, not 0 - so this call will always fail. Thanks for spotting this bug and rest of your review comments. Here's V4 of the patchset, aimed at improving fairness of cpu bandwidth allocation for task

[PATCH] [libata] Set proper ATA UDMA mode for bf548 according to system clock.

2007-11-26 Thread sonic zhang
UDMA Mode - Frequency compatibility UDMA5 - 100 MB/s - SCLK = 133 MHz UDMA4 - 66 MB/s- SCLK >= 80 MHz UDMA3 - 44.4 MB/s - SCLK >= 50 MHz UDMA2 - 33 MB/s- SCLK >= 40 MHz Signed-off-by: Sonic Zhang <[EMAIL PROTECTED]> --- drivers/ata/pata_bf54x.c |7 +++ 1 files changed, 7

Re: Dynticks Causing High Context Switch Rate in ksoftirqd

2007-11-26 Thread Robert Hancock
[EMAIL PROTECTED] wrote: Question: Why is ksoftirqd eating about 5 to 10 percent of my CPU on an idle system? The problem occurs if I config the kernel with tickless support (i.e. CONFIG_TICK_ONESHOT=y). (Thanks to "oprofile" for putting me onto this.) I have noted this same problem on kernel

Re: [2.6 patch] remove CONFIG_EXPERIMENTAL

2007-11-26 Thread Dave Jones
On Mon, Nov 26, 2007 at 10:44:44PM -0500, [EMAIL PROTECTED] wrote: > I suspect that given the "once it escapes, it's cast in stone" view we take > towards user-visible API/etc, there isn't much *real* room for an > 'EXPERIMENTAL' flag anymore. Most of the usage should probably be confined

Re: [PATCH] Add iSCSI IBFT Support (v0.3)

2007-11-26 Thread Konrad Rzeszutek
.. snip.. > > +#else > > +static void __init reserve_ibft_region(void) { }; > > No ending ; above. Fixed. > ..snip.. > > +static void __init reserve_ibft_region(void) { }; > > Ditto. Fixed. .. snip.. > > +#include > > + > > No blank line here, please. Why that creeps back in the code I am

Re: [PATCH] Add iSCSI IBFT Support (v0.3)

2007-11-26 Thread Konrad Rzeszutek
On Monday 26 November 2007 22:31:38 Greg KH wrote: > On Mon, Nov 26, 2007 at 06:56:42PM -0400, Konrad Rzeszutek wrote: > > +/* > > + * Routines for reading of the iBFT data in a human readable fashion. > > + */ > > +ssize_t ibft_attr_show_initiator(struct ibft_kobject *entry, > > +

Re: Error returns not handled correctly by sysfs.c:subsys_attr_store()

2007-11-26 Thread Andrew Morton
On Wed, 21 Nov 2007 15:16:59 -0700 Andrew Patterson <[EMAIL PROTECTED]> wrote: > The buf in fs/sysfs.c:subsys_attr_store() does not seem to be updated > correctly when returning a negative value (indicating that an error > condition has occurred) is returned. If a negative value is returned, >

Re: [patch 05/14] percpu: Use a Kconfig variable to configure arch specific percpu setup

2007-11-26 Thread Rusty Russell
On Tuesday 27 November 2007 11:14:12 Christoph Lameter wrote: > The use of the __GENERIC_PERCPU is a bit problematic since arches > may want to run their own percpu setup while using the generic > percpu definitions. Replace it through a kconfig variable. Thanks for this Christoph! These patches

Re: [PATCH RFC] [1/9] Core module symbol namespaces code and intro.

2007-11-26 Thread Rusty Russell
On Monday 26 November 2007 16:58:08 Roland Dreier wrote: > > > I agree that we shouldn't make things too hard for out-of-tree > > > modules, but I disagree with your first statement: there clearly is a > > > large class of symbols that are used by multiple modules but which are > > > not

Re: [rfc 08/45] cpu alloc: x86 support

2007-11-26 Thread John Richard Moser
Andi Kleen wrote: On Tuesday 20 November 2007 04:50, Christoph Lameter wrote: On Tue, 20 Nov 2007, Andi Kleen wrote: You could in theory move the modules, but then you would need to implement a full PIC dynamic linker for them first and also increase runtime overhead for them because they

Re: [PATCH] kexec: force x86_64 arches to boot kdump kernels on boot cpu

2007-11-26 Thread Eric W. Biederman
Neil Horman <[EMAIL PROTECTED]> writes: > Hey all- > I've been working on an issue lately involving multi socket x86_64 > systems connected via hypertransport bridges. It appears that some systems, > disable the hypertransport connections during a kdump operation when all but > the >

Re: unionfs: several more problems

2007-11-26 Thread Erez Zadok
In message <[EMAIL PROTECTED]>, Hugh Dickins writes: > On Mon, 26 Nov 2007, Erez Zadok wrote: [...] > > The small patch below fixed the problem. Let me know what you think. > > I've one issue with it: please move that wait_on_page_writeback before > the clear_page_dirty_for_io instead of after

Re: [PATCH] file capabilities: don't prevent signaling setuid root programs.

2007-11-26 Thread Andrew Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Serge, I still feel a bit uneasy about this. Looking ahead, with filesystem capabilities, one can simulate this same situation with a setuid 'non-root' program as follows: [EMAIL PROTECTED] ~]$ cat > test.c main() { printf("sleeping (%u)\n",

Re: profile code added to netif_receive_skb function

2007-11-26 Thread Valdis . Kletnieks
On Sun, 25 Nov 2007 21:46:26 PST, kernel coder said: > hi, > > I have added some code to netif_receive_skb function.As linux kernel > is multhreaded , so there is no gaurantee than mine code is completely > executed without being disturbed by any other process .Timer interrupt > handler is an

Re: Small System Paging Problem - OOM-killer goes nuts

2007-11-26 Thread Josh Goldsmith
When you untar, which filesystem do you untar too? I've untarred it to Ext3, Ext2, and Reiser filesystems. I've been fighting with this for a while. I did manage to get it to happen again doing a recursive chmod after untarring the kernel (I stopped the untar a few times to let the system

Re: [2.6 patch] remove CONFIG_EXPERIMENTAL

2007-11-26 Thread Valdis . Kletnieks
On Mon, 26 Nov 2007 12:27:07 GMT, Pavel Machek said: > I don't think this is good idea. But perhaps 'experimental' should be > removed from stuff that is really stable these days, like SATA? I suspect that given the "once it escapes, it's cast in stone" view we take towards user-visible API/etc,

Re: [PATCH] capabilities: introduce per-process capability bounding set (v10)

2007-11-26 Thread Andrew Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This looks good to me. [As you anticipated, there is a potential merge issue with Casey's recent addition of MAC capabilities - which will make CAP_MAC_ADMIN the highest allocated capability: ie., #define CAP_LAST_CAP CAP_MAC_ADMIN ].

Re: [PATCH] fix plip 1

2007-11-26 Thread Linus Torvalds
On Thu, 22 Nov 2007, Mikulas Patocka wrote: > > netif_rx is meant to be called from interrupts because it doesn't wake up > ksoftirqd. For calling from outside interrupts, netif_rx_ni exists. Argh. Can you _please_ use more useful subject lines than "fix plip 1/2"? Those subject lines are

Re: [PATCH] Add iSCSI IBFT Support (v0.3)

2007-11-26 Thread Greg KH
On Mon, Nov 26, 2007 at 06:56:42PM -0400, Konrad Rzeszutek wrote: > +/* > + * Routines for reading of the iBFT data in a human readable fashion. > + */ > +ssize_t ibft_attr_show_initiator(struct ibft_kobject *entry, > + struct ibft_attribute *attr, > +

Re: [PATCH] Add iSCSI IBFT Support (v0.3)

2007-11-26 Thread Greg KH
On Mon, Nov 26, 2007 at 06:56:42PM -0400, Konrad Rzeszutek wrote: > > This patch adds /sysfs/firmware/ibft/[chosen|aliases|[EMAIL > PROTECTED],X|[EMAIL PROTECTED],X] > directories along with text properties which export the the iSCSI Boot > Firmware Table (iBFT) structure. The layout of the

Re: [PATCH] -mm (2.4.26-rc3-mm1) v2 Smack using capabilities 32 and 33

2007-11-26 Thread Andrew Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Signed-off-by: Andrew G. Morgan <[EMAIL PROTECTED]> Cheers Andrew Casey Schaufler wrote: > From: Casey Schaufler <[EMAIL PROTECTED]> > > This patch takes advantage of the increase in capability bits > to allocate capabilities for Mandatory Access

Re: [PATCH] [RESEND] crypto test: use print_hex_dump from kernel.h instead

2007-11-26 Thread Richard Knutsson
Denis Cheng wrote: Cc: Randy Dunlap <[EMAIL PROTECTED]> Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- this is against the lastest cryptodev tree. crypto/tcrypt.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index

[PATCH][for -mm] per-zone and reclaim enhancements for memory controller take 3 [9/10] per zone lru for cgroup

2007-11-26 Thread KAMEZAWA Hiroyuki
This patch implements per-zone lru for memory cgroup. This patch makes use of mem_cgroup_per_zone struct for per zone lru. LRU can be accessed by mz = mem_cgroup_zoneinfo(mem_cgroup, node, zone); >active_list >inactive_list or mz = page_cgroup_zoneinfo(page_cgroup);

[PATCH][for -mm] per-zone and reclaim enhancements for memory controller take 3 [10/10] per-zone-lock for cgroup

2007-11-26 Thread KAMEZAWA Hiroyuki
Now, lru is per-zone. Then, lru_lock can be (should be) per-zone, too. This patch implementes per-zone lru lock. lru_lock is placed into mem_cgroup_per_zone struct. lock can be accessed by mz = mem_cgroup_zoneinfo(mem_cgroup, node, zone); >lru_lock or mz =

[PATCH][for -mm] per-zone and reclaim enhancements for memory controller take 3 [8/10] modifies vmscan.c for isolate globa/cgroup lru activity

2007-11-26 Thread KAMEZAWA Hiroyuki
When using memory controller, there are 2 levels of memory reclaim. 1. zone memory reclaim because of system/zone memory shortage. 2. memory cgroup memory reclaim because of hitting limit. These two can be distinguished by sc->mem_cgroup parameter. (scan_global_lru() macro) This patch tries to

Dynticks Causing High Context Switch Rate in ksoftirqd

2007-11-26 Thread bdupree
Question: Why is ksoftirqd eating about 5 to 10 percent of my CPU on an idle system? The problem occurs if I config the kernel with tickless support (i.e. CONFIG_TICK_ONESHOT=y). (Thanks to "oprofile" for putting me onto this.) I have noted this same problem on kernel versions: 2.6.23.1,

Re: [PATCH 0/4, v3] Physical PCI slot objects

2007-11-26 Thread Gary Hade
On Mon, Nov 26, 2007 at 03:22:53PM -0700, Alex Chiang wrote: > Hi Gary, Kenji-san, et. al, > > * Gary Hade <[EMAIL PROTECTED]>: > > > > Alex, What I was trying to suggest is a boot-time kernel > > option, not a kernel configuration option. The basic idea is > > to give the user (with a single

Re: Fw: Re: [PATCH 1/3] signal(i386): alternative signal stack wraparound occurs

2007-11-26 Thread Roland McGrath
cf http://lkml.org/lkml/2007/10/3/41 To summarize: on Linux, SA_ONSTACK decides whether you are already on the signal stack based on the value of the SP at the time of a signal. If you are not already inside the range, you are not "on the signal stack" and so the new signal handler frame starts

[PATCH][for -mm] per-zone and reclaim enhancements for memory controller take 3 [7/10] calculate the number of pages to be scanned per cgroup

2007-11-26 Thread KAMEZAWA Hiroyuki
Define function for calculating the number of scan target on each Zone/LRU. Changelog V1->V2. - fixed types of variable. Signed-off-by: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> include/linux/memcontrol.h | 15 +++ mm/memcontrol.c| 33 +

[PATCH][for -mm] per-zone and reclaim enhancements for memory controller take 3 [6/10] remember reclaim priority in memory cgroup

2007-11-26 Thread KAMEZAWA Hiroyuki
Functions to remember reclaim priority per cgroup (as zone->prev_priority) Signed-off-by: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> include/linux/memcontrol.h | 23 +++ mm/memcontrol.c| 20 2 files changed, 43 insertions(+) Index:

[PATCH][for -mm] per-zone and reclaim enhancements for memory controller take 3 [5/10] calculate active/inactive imbalance per cgroup

2007-11-26 Thread KAMEZAWA Hiroyuki
calculate active/inactive imbalance per memory cgroup. Changelog V1 -> V2: - removed "total" (just count inactive and active) - fixed comment - fixed return type to be "long". Signed-off-by: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> include/linux/memcontrol.h |8 mm/memcontrol.c

[PATCH][for -mm] per-zone and reclaim enhancements for memory controller take 3 [4/10] calculate mapper_ratio per cgroup

2007-11-26 Thread KAMEZAWA Hiroyuki
Define function for calculating mapped_ratio in memory cgroup. Changelog V1->V2 - Fixed possible divide-by-zero bug. - Use "long" to avoid 64bit division on 32 bit system. and does necessary type casts. - Added comments. Signed-off-by: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]>

[PATCH][for -mm] per-zone and reclaim enhancements for memory controller take 3 [3/10] per-zone active inactive counter

2007-11-26 Thread KAMEZAWA Hiroyuki
Counting active/inactive per-zone in memory controller. This patch adds per-zone status in memory cgroup. These values are often read (as per-zone value) by page reclaiming. In current design, per-zone stat is just a unsigned long value and not an atomic value because they are modified only

[PATCH][for -mm] per-zone and reclaim enhancements for memory controller take 3 [2/10] nid/zid helper function for cgroup

2007-11-26 Thread KAMEZAWA Hiroyuki
Add macro to get node_id and zone_id of page_cgroup. Will be used in per-zone-xxx patches and others. Changelog: - returns zone_type instead of int. Signed-off-by: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> mm/memcontrol.c | 10 ++ 1 file changed, 10 insertions(+) Index:

[PATCH][for -mm] per-zone and reclaim enhancements for memory controller take 3 [1/10] add scan_global_lru macro

2007-11-26 Thread KAMEZAWA Hiroyuki
add macro scan_global_lru(). This is used to detect which scan_control scans global lru or mem_cgroup lru. And compiled to be static value (1) when memory controller is not configured. This may make the meaning obvious. Acked-by: Balbir Singh <[EMAIL PROTECTED]> Signed-off-by: KAMEZAWA Hiroyuki

[PATCH][for -mm] per-zone and reclaim enhancements for memory controller take 3 [0/10] introduction

2007-11-26 Thread KAMEZAWA Hiroyuki
Hi, this is per-zone/reclaim support patch set for memory controller (cgroup). Major changes from previous one is -- tested with 2.6.24-rc3-mm1 + ia64/NUMA -- applied comments. I did small test on real NUMA machine. My machine was ia64/8CPU/2Node NUMA. I tried to complile the kernel under 800M

[PATCH] [RESEND] crypto test: use print_hex_dump from kernel.h instead

2007-11-26 Thread Denis Cheng
Cc: Randy Dunlap <[EMAIL PROTECTED]> Signed-off-by: Denis Cheng <[EMAIL PROTECTED]> --- this is against the lastest cryptodev tree. crypto/tcrypt.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 1e12b86..ae762c2 100644 ---

Re: __rcu_process_callbacks() in Linux 2.6

2007-11-26 Thread Paul E. McKenney
On Mon, Nov 26, 2007 at 02:48:08PM -0800, James Huang wrote: > > > -Original Message- > > From: James Huang [mailto:[EMAIL PROTECTED] > > Sent: Monday, November 26, 2007 2:21 PM > > To: James Huang > > Subject: Fw: __rcu_process_callbacks() in Linux 2.6 > > > > - Forwarded Message

Re: [PATCHv4 5/6] Allow setting O_NONBLOCK flag for new sockets

2007-11-26 Thread H. Peter Anvin
Linus Torvalds wrote: The 6-word limit is a red herring. There is at least two ways to deal with it (and this doesn't mean wiping the legacy stuff we already have): - Let each architecture pick a calling convention and redefine the architecture-independent bits to take an arbitrary number of

[Patch](Resend) mm/sparse.c: Improve the error handling for sparse_add_one_section()

2007-11-26 Thread WANG Cong
On Mon, Nov 26, 2007 at 07:19:49PM +0900, Yasunori Goto wrote: >Hi, Cong-san. > >> ms->section_mem_map |= SECTION_MARKED_PRESENT; >> >> ret = sparse_init_one_section(ms, section_nr, memmap, usemap); >> >> out: >> pgdat_resize_unlock(pgdat, ); >> -if (ret <= 0) >> -

Re: [PATCH] Kobjects: drop child->parent ref at unregistration

2007-11-26 Thread Alan Stern
On Mon, 26 Nov 2007, Andrew Morton wrote: > On Mon, 19 Nov 2007 10:53:40 -0500 (EST) > Alan Stern <[EMAIL PROTECTED]> wrote: > > > This patch (as1015) reverts changes that were made to the driver core > > about four years ago. The intent back then was to avoid certain kinds > > of invalid

Re: [PATCH] [ACPI] utilities/: Compliment va_start() with va_end().

2007-11-26 Thread Richard Knutsson
Moore, Robert wrote: Yes, it's official ANSI C, so I agree with the portability. I'm probably asking more about the history of the thing. "the history of the thing"? Sorry, you lost me there. I know there were a pre-ANSI version of va_start() & co., but they seemed quite messy. When it

Re: [PATCHv4 5/6] Allow setting O_NONBLOCK flag for new sockets

2007-11-26 Thread Linus Torvalds
On Mon, 26 Nov 2007, H. Peter Anvin wrote: > > I'm presuming you're not talking about some sort of syslets/fibrils/threadlets > here (executing an interpreted thread of execution in kernel space). That's a > whole separate ball of wax. Indeed. I'm hoping that just dies. It's too complex.

Re: [PATCH 06/18] x86 vDSO: arch/x86/vdso/vdso32

2007-11-26 Thread Roland McGrath
> But whatever works. I'm currently skipping the patches since they didn't > seem like 2.6.24 fodder anyway. The vdso cleanups are pure cleanup, not fixing anything that's actively broken. Thanks, Roland - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH 06/18] x86 vDSO: arch/x86/vdso/vdso32

2007-11-26 Thread Linus Torvalds
On Tue, 20 Nov 2007, Roland McGrath wrote: > > > git format-patch -p > > > > does the trick at least here :) > > Ok, I can use that in future. I hope it still means that in the eventual > merged state, GIT will be aware of all the renames. Git doesn't care. You can do renames by hand, or

[PATCH] kexec: force x86_64 arches to boot kdump kernels on boot cpu

2007-11-26 Thread Neil Horman
Hey all- I've been working on an issue lately involving multi socket x86_64 systems connected via hypertransport bridges. It appears that some systems, disable the hypertransport connections during a kdump operation when all but the crashing processor gets halted in

  1   2   3   4   5   6   7   8   9   >