Re: inode leak in 2.6.24?

2008-02-20 Thread Ferenc Wagner
David Chinner [EMAIL PROTECTED] writes: The xfs inodes are clearly pinned by the dentry cache, so the issue is dentries, not inodes. What's causing dentries not to be reclaimed? I can't see anything that cold pin them (e.g. no filp's that would indicate open files being responsible), so my

Re: [RFC] [PATCH] Fix b43 driver build for arm

2008-02-20 Thread Michael Buesch
On Wednesday 20 February 2008 01:44:38 Gordon Farquharson wrote: Hi Michael On Feb 19, 2008 3:41 AM, Michael Buesch [EMAIL PROTECTED] wrote: [2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=7492d4a416d68ab4bd254b36ffcc4e0138daa8ff That doesn't

Re: Plans for mISDN? Was: [PATCH 00/14] [ISDN] ...

2008-02-20 Thread Alan Cox
mISDN has two problems, which are of course interrelated: a) complete lack of documentation for the in-kernel driver interface (equivalent of Documentation/isdn/INTERFACE) b) still doesn't support all the hardware isdn4linux supports. As long as those problems aren't solved, the old

Re: git tree with VFS stuff

2008-02-20 Thread Al Viro
On Thu, Feb 21, 2008 at 01:13:48AM +1100, Stephen Rothwell wrote: Hi Miklos, On Tue, 19 Feb 2008 14:32:28 +0100 Miklos Szeredi [EMAIL PROTECTED] wrote: I've created a git tree with the following mounts related stuff: - read-only bind mounts - /proc/pid/mountinfo -

arch/x86/kernel/vsyscall_64.c: overeager NOP of syscalls

2008-02-20 Thread Arne Georg Gleditsch
Hi, I'm looking at 2.6.25-rc2. vsyscall_sysctl_change contains code to NOP out the actual system call instructions of the vsyscall page when vsyscall64 is enabled. This seems to interact badly with the fallback code in do_vgettimeofday which tries to call gettimeofday if the configured clock

Re: Plans for mISDN? Was: [PATCH 00/14] [ISDN] ...

2008-02-20 Thread Tilman Schmidt
Marcel Holtmann schrieb: My proposal is to merge mISDN and then see what falls out. My guess it won't be that bad as everybody thinks and then we go from there. Next step is to remove ISDN4Linux since that should not be used at all anymore. No. Next step is to create the missing

Re: [PATCH] hugetlb: ensure we do not reference a surplus page after handing it to buddy

2008-02-20 Thread Adam Litke
On Tue, 2008-02-19 at 15:30 -0800, Andrew Morton wrote: On Tue, 19 Feb 2008 12:41:51 -0600 Adam Litke [EMAIL PROTECTED] wrote: Indeed. I'll take credit for this thinko... On Tue, 2008-02-19 at 18:28 +, Andy Whitcroft wrote: When we free a page via free_huge_page and we detect

Re: [BUG] next-20080219 - ide oops while bootup at ide_device_add_all ()

2008-02-20 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday 20 February 2008, Kamalesh Babulal wrote: Hi, The next-20080219 kernel oops while booting up on x86_64 box. This bug was fixed in the 2.6.24-git(s) with the patch posted at http://lkml.org/lkml/2008/2/11/350 ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 BUG: unable to handle

Re: [PATCH] Document huge memory/cache overhead of memory controller in Kconfig

2008-02-20 Thread John Stoffel
Balbir == Balbir Singh [EMAIL PROTECTED] writes: Balbir Andi Kleen wrote: Document huge memory/cache overhead of memory controller in Kconfig I was a little surprised that 2.6.25-rc* increased struct page for the memory controller. At least on many x86-64 machines it will not fit into a

[BUG] 2.6.25-rc2-git4 - Regression Kernel oops while running kernbench and tbench on powerpc

2008-02-20 Thread Kamalesh Babulal
then. This oops is visible in the linux-next-20080220 kernel also.The machine is power4+ box with four cpus and has 30 GB RAM. oops while running kernbench - Oops: Kernel access of bad area, sig: 11 [#1] SMP NR_CPUS=32 NUMA pSeries Modules linked in: NIP

Re: TG3 network data corruption regression 2.6.24/2.6.23.4

2008-02-20 Thread Tony Battersby
Michael Chan wrote: On Tue, 2008-02-19 at 17:14 -0500, Tony Battersby wrote: Update: when I revert Herbert's patch in addition to applying your patch, the iSCSI performance goes back up to 115 MB/s again in both directions. So it looks like turning off SG for TX didn't itself cause the

Re: linux-next: Tree for Feb 20

2008-02-20 Thread James Bottomley
On Wed, 2008-02-20 at 16:34 +1100, Stephen Rothwell wrote: Hi all, I have created today's linux-next tree at git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git. You can see which trees have been included by looking in the Next/Trees file in the source. There are also

Re: Announce: Linux-next (Or Andrew's dream :-))

2008-02-20 Thread Stephen Rothwell
Hi Linus, On Thu, 14 Feb 2008 10:01:14 -0800 (PST) Linus Torvalds [EMAIL PROTECTED] wrote: I absolutely have no problem with having a this is the infrastrcture changes that will go into the next release. In fact, I can even *maintain* such a branch. I've not wanted to open up a second

[PATCH 2.6.25-rc2] block2mtd: logging typo fixes

2008-02-20 Thread Stephane Chazelas
Hi joern, this patch addresses a number of small issues mainly regarding the output made by this driver to dmesg: - Some of the blkmtd's had not been changed to block2mtd which caused display problem - the parse_err() macro was displaying block2mtd: twice Signed-off-by: Stephane

Re: ftrace causing panics.

2008-02-20 Thread Steven Rostedt
Dhaval Giani wrote: Hi Ingo, ftrace-cmd in -w option when being run for sometime cause this. llm11.in.ibm.com login: [ 1002.937490] BUG: unable to handle kernel paging request at 285b0010 [ 1002.947087] IP: [c015f7b5] find_next_entry+0x4f/0x84 Dhaval, First, thanks for testing Are

Re: [PATCH], issue EOI to APIC prior to calling crash_kexec in die_nmi path

2008-02-20 Thread Neil Horman
On Tue, Feb 12, 2008 at 04:08:16PM -0500, Neil Horman wrote: Neil, is it possible to do some serial console debugging to find out where exactly we are hanging? Beats me, what's that operation which can not be executed while being in NMI handler and makes system to hang. I am also

[PATCH 03/28] mm: slb: add knowledge of reserve pages

2008-02-20 Thread Peter Zijlstra
Restrict objects from reserve slabs (ALLOC_NO_WATERMARKS) to allocation contexts that are entitled to it. This is done to ensure reserve pages don't leak out and get consumed. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- include/linux/slub_def.h |1 mm/slab.c| 60

[PATCH 02/28] mm: tag reseve pages

2008-02-20 Thread Peter Zijlstra
Tag pages allocated from the reserves with a non-zero page-reserve. This allows us to distinguish and account reserve pages. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- include/linux/mm_types.h |1 + mm/page_alloc.c |4 +++- 2 files changed, 4 insertions(+), 1

[PATCH 04/28] mm: kmem_estimate_pages()

2008-02-20 Thread Peter Zijlstra
Provide a method to get the upper bound on the pages needed to allocate a given number of objects from a given kmem_cache. This lays the foundation for a generic reserve framework as presented in a later patch in this series. This framework needs to convert object demand (kmalloc() bytes,

[PATCH 07/28] mm: emergency pool

2008-02-20 Thread Peter Zijlstra
Provide means to reserve a specific amount of pages. The emergency pool is separated from the min watermark because ALLOC_HARDER and ALLOC_HIGH modify the watermark in a relative way and thus do not ensure a strict minimum. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] ---

[PATCH 10/28] mm: memory reserve management

2008-02-20 Thread Peter Zijlstra
Generic reserve management code. It provides methods to reserve and charge. Upon this, generic alloc/free style reserve pools could be build, which could fully replace mempool_t functionality. It should also allow for a Banker's algorithm replacement of __GFP_NOFAIL. Signed-off-by: Peter

[PATCH 12/28] net: wrap sk-sk_backlog_rcv()

2008-02-20 Thread Peter Zijlstra
Wrap calling sk-sk_backlog_rcv() in a function. This will allow extending the generic sk_backlog_rcv behaviour. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- include/net/sock.h |5 + include/net/tcp.h|2 +- net/core/sock.c |4 ++-- net/ipv4/tcp.c |2 +-

[PATCH 11/28] selinux: tag avc cache alloc as non-critical

2008-02-20 Thread Peter Zijlstra
Failing to allocate a cache entry will only harm performance not correctness. Do not consume valuable reserve pages for something like that. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] Acked-by: James Morris [EMAIL PROTECTED] --- security/selinux/avc.c |2 +- 1 file changed, 1

[PATCH 13/28] net: packet split receive api

2008-02-20 Thread Peter Zijlstra
Add some packet-split receive hooks. For one this allows to do NUMA node affine page allocs. Later on these hooks will be extended to do emergency reserve allocations for fragments. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- drivers/net/bnx2.c |8 +++-

[PATCH 01/28] mm: gfp_to_alloc_flags()

2008-02-20 Thread Peter Zijlstra
Factor out the gfp to alloc_flags mapping so it can be used in other places. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- mm/internal.h | 11 ++ mm/page_alloc.c | 98 2 files changed, 67 insertions(+), 42 deletions(-)

[PATCH 15/28] netvm: network reserve infrastructure

2008-02-20 Thread Peter Zijlstra
Provide the basic infrastructure to reserve and charge/account network memory. We provide the following reserve tree: 1) total network reserve 2)network TX reserve 3) protocol TX pages 4)network RX reserve 5) SKB data reserve [1] is used to make all the network reserves a

[PATCH 00/28] Swap over NFS -v16

2008-02-20 Thread Peter Zijlstra
Hi, Another posting of the full swap over NFS series. Andrew/Linus, could we start thinking of sticking this in -mm? [ patches against 2.6.25-rc2-mm1, also to be found online at: http://programming.kicks-ass.net/kernel-patches/vm_deadlock/v2.6.25-rc2-mm1/ ] The patch-set can be split in

[PATCH 23/28] mm: methods for teaching filesystems about PG_swapcache pages

2008-02-20 Thread Peter Zijlstra
In order to teach filesystems to handle swap cache pages, two new page functions are introduced: pgoff_t page_file_index(struct page *); struct address_space *page_file_mapping(struct page *); page_file_index - gives the offset of this page in the file in PAGE_CACHE_SIZE blocks. Like

[PATCH 27/28] nfs: enable swap on NFS

2008-02-20 Thread Peter Zijlstra
Implement all the new swapfile a_ops for NFS. This will set the NFS socket to SOCK_MEMALLOC and run socket reconnect under PF_MEMALLOC as well as reset SOCK_MEMALLOC before engaging the protocol -connect() method. PF_MEMALLOC should allow the allocation of struct socket and related objects and

[PATCH 25/28] nfs: teach the NFS client how to treat PG_swapcache pages

2008-02-20 Thread Peter Zijlstra
Replace all relevant occurences of page-index and page-mapping in the NFS client with the new page_file_index() and page_file_mapping() functions. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- fs/nfs/file.c |6 +++--- fs/nfs/internal.h |7 --- fs/nfs/pagelist.c |6

[PATCH 20/28] netfilter: NF_QUEUE vs emergency skbs

2008-02-20 Thread Peter Zijlstra
Avoid memory getting stuck waiting for userspace, drop all emergency packets. This of course requires the regular storage route to not include an NF_QUEUE target ;-) Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- net/netfilter/core.c |3 +++ 1 file changed, 3 insertions(+) Index:

[PATCH 08/28] mm: system wide ALLOC_NO_WATERMARK

2008-02-20 Thread Peter Zijlstra
Change ALLOC_NO_WATERMARK page allocation such that the reserves are system wide - which they are per setup_per_zone_pages_min(), when we scrape the barrel, do it properly. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- mm/page_alloc.c |6 ++ 1 file changed, 6 insertions(+) Index:

[PATCH 19/28] netvm: prevent a stream specific deadlock

2008-02-20 Thread Peter Zijlstra
It could happen that all !SOCK_MEMALLOC sockets have buffered so much data that we're over the global rmem limit. This will prevent SOCK_MEMALLOC buffers from receiving data, which will prevent userspace from running, which is needed to reduce the buffered data. Fix this by exempting the

[PATCH 21/28] netvm: skb processing

2008-02-20 Thread Peter Zijlstra
In order to make sure emergency packets receive all memory needed to proceed ensure processing of emergency SKBs happens under PF_MEMALLOC. Use the (new) sk_backlog_rcv() wrapper to ensure this for backlog processing. Skip taps, since those are user-space again. Signed-off-by: Peter Zijlstra

[PATCH 17/28] netvm: hook skb allocation to reserves

2008-02-20 Thread Peter Zijlstra
Change the skb allocation api to indicate RX usage and use this to fall back to the reserve when needed. SKBs allocated from the reserve are tagged in skb-emergency. Teach all other skb ops about emergency skbs and the reserve accounting. Use the (new) packet split API to allocate and track

[PATCH 14/28] net: sk_allocation() - concentrate socket related allocations

2008-02-20 Thread Peter Zijlstra
Introduce sk_allocation(), this function allows to inject sock specific flags to each sock related allocation. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- include/net/sock.h|5 + net/ipv4/tcp.c|3 ++- net/ipv4/tcp_output.c | 12 +++- net/ipv6/tcp_ipv6.c

Re: TG3 network data corruption regression 2.6.24/2.6.23.4

2008-02-20 Thread Tony Battersby
Herbert Xu wrote: On Tue, Feb 19, 2008 at 05:14:26PM -0500, Tony Battersby wrote: Update: when I revert Herbert's patch in addition to applying your patch, the iSCSI performance goes back up to 115 MB/s again in both directions. So it looks like turning off SG for TX didn't itself cause

Re: linux-next: Tree for Feb 20

2008-02-20 Thread Frank Seidel
James Bottomley wrote: On Wed, 2008-02-20 at 16:34 +1100, Stephen Rothwell wrote: There were no merge conflicts and only one build failure! Is the merge log available anywhere yet? Yes, there is the Next/merge.log file in linux-next.

Re: [PATCH] Document huge memory/cache overhead of memory controller in Kconfig

2008-02-20 Thread Balbir Singh
John Stoffel wrote: I know this is a pedantic comment, but why the heck is it called such a generic term as Memory Controller which doesn't give any indication of what it does. Shouldn't it be something like Memory Quota Controller, or Memory Limits Controller? It's called the memory

Re: adapter, what's in a name

2008-02-20 Thread Frans Pop
Karl Dahlke wrote: Meantime, I pulled the emails out of the headers and pasted them in. Hope that reasonably works. Well, you're still breaking the thread by starting a new one. Guess when you're implementing reply-to-all, you should also think about implementing support for In-Reply-To: and

Re: [PATCH 0/2] x86: Optimize percpu accesses v3

2008-02-20 Thread Mike Travis
Ingo Molnar wrote: * Mike Travis [EMAIL PROTECTED] wrote: This patchset is the x86-specific part split from the generic part of the zero-based patchset. thanks Mike, applied them to x86.git. Do these depend on the generic bits? (for now we'll keep these in -testing, so that they do not

[PATCH 16/28] netvm: INET reserves.

2008-02-20 Thread Peter Zijlstra
Add reserves for INET. The two big users seem to be the route cache and ip-fragment cache. Reserve the route cache under generic RX reserve, its usage is bounded by the high reclaim watermark, and thus does not need further accounting. Reserve the ip-fragement caches under SKB data reserve,

[PATCH 26/28] nfs: disable data cache revalidation for swapfiles

2008-02-20 Thread Peter Zijlstra
Do as Trond suggested: http://lkml.org/lkml/2006/8/25/348 Disable NFS data cache revalidation on swap files since it doesn't really make sense to have other clients change the file while you are using it. Thereby we can stop setting PG_private on swap pages, since there ought to be no further

[PATCH 18/28] netvm: filter emergency skbs.

2008-02-20 Thread Peter Zijlstra
Toss all emergency packets not for a SOCK_MEMALLOC socket. This ensures our precious memory reserve doesn't get stuck waiting for user-space. The correctness of this approach relies on the fact that networks must be assumed lossy. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] ---

[PATCH 09/28] mm: __GFP_MEMALLOC

2008-02-20 Thread Peter Zijlstra
__GFP_MEMALLOC will allow the allocation to disregard the watermarks, much like PF_MEMALLOC. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- include/linux/gfp.h |3 ++- mm/page_alloc.c |4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) Index:

Re: ftrace causing panics.

2008-02-20 Thread Dhaval Giani
On Wed, Feb 20, 2008 at 10:02:18AM -0500, Steven Rostedt wrote: Dhaval Giani wrote: Hi Ingo, ftrace-cmd in -w option when being run for sometime cause this. llm11.in.ibm.com login: [ 1002.937490] BUG: unable to handle kernel paging request at 285b0010 [ 1002.947087] IP: [c015f7b5]

[PATCH 22/28] mm: add support for non block device backed swap files

2008-02-20 Thread Peter Zijlstra
New addres_space_operations methods are added: int swapfile(struct address_space *, int); int swap_out(struct file *, struct page *, struct writeback_control *); int swap_in(struct file *, struct page *); When during sys_swapon() the swapfile() method is found and returns no error the

[PATCH 28/28] nfs: fix various memory recursions possible with swap over NFS.

2008-02-20 Thread Peter Zijlstra
GFP_NOFS is not enough, since swap traffic is IO, hence fall back to GFP_NOIO. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- fs/nfs/pagelist.c |2 +- fs/nfs/write.c|6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) Index: linux-2.6/fs/nfs/write.c

Re: adapter, what's in a name

2008-02-20 Thread Stefan Richter
Karl Dahlke wrote: As was pointed out, it is difficult to place an accessibility adapter under one particular subsystem. Mine takes over the screen, to be a screen reader, and it captures tty output, because it is more than just a screen reader, it buffers output, exactly as generated, for my

Re: [PATCH 2.6.25-rc2] block2mtd: logging typo fixes

2008-02-20 Thread Jörn Engel
On Wed, 20 February 2008 15:00:21 +, Stephane Chazelas wrote: this patch addresses a number of small issues mainly regarding the output made by this driver to dmesg: - Some of the blkmtd's had not been changed to block2mtd which caused display problem - the parse_err() macro was

[PATCH] x86: complete segment descriptor unification

2008-02-20 Thread Avi Kivity
Remove the final line in asm-x86/desc_64.h Signed-off-by: Avi Kivity [EMAIL PROTECTED] --- include/asm-x86/desc_64.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) delete mode 100644 include/asm-x86/desc_64.h diff --git a/include/asm-x86/desc_64.h b/include/asm-x86/desc_64.h

Re: hdparm-8.2 now available

2008-02-20 Thread Greg Freemyer
Mark, What kernel level is needed to support the new -N arg? Tried it on a Suse 2.6.22 kernel (possibly not patched with all the current security updates). Failed with: The Running Kernel Lack CONFIG_IDE_TASK_IOCTL Support. Thanks Greg On Mon, Feb 18, 2008 at 7:25 PM, Mark Lord [EMAIL

Re: [PATCH] mmu notifiers #v6

2008-02-20 Thread Andrea Arcangeli
On Wed, Feb 20, 2008 at 08:41:55AM -0600, Robin Holt wrote: On Wed, Feb 20, 2008 at 11:39:42AM +0100, Andrea Arcangeli wrote: XPMEM simply can't use RCU for the registration locking if it wants to schedule inside the mmu notifier calls. So I guess it's better to add Whoa there. In

Re: [PATCH] x86: complete segment descriptor unification

2008-02-20 Thread Ingo Molnar
* Avi Kivity [EMAIL PROTECTED] wrote: Remove the final line in asm-x86/desc_64.h thanks, applied :-) Ingo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH 05/28] mm: allow PF_MEMALLOC from softirq context

2008-02-20 Thread Peter Zijlstra
Allow PF_MEMALLOC to be set in softirq context. When running softirqs from a borrowed context save current-flags, ksoftirqd will have its own task_struct. This is needed to allow network softirq packet processing to make use of PF_MEMALLOC. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] ---

[PATCH 24/28] nfs: remove mempools

2008-02-20 Thread Peter Zijlstra
With the introduction of the shared dirty page accounting in .19, NFS should not be able to surpise the VM with all dirty pages. Thus it should always be able to free some memory. Hence no more need for mempools. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- fs/nfs/read.c | 15

[PATCH 06/28] mm: serialize access to min_free_kbytes

2008-02-20 Thread Peter Zijlstra
There is a small race between the procfs caller and the memory hotplug caller of setup_per_zone_pages_min(). Not a big deal, but the next patch will add yet another caller. Time to close the gap. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- mm/page_alloc.c | 16 +--- 1 file

Re: Announce: Linux-next (Or Andrew's dream :-))

2008-02-20 Thread Stefan Richter
Stephen Rothwell wrote: On Thu, 14 Feb 2008 10:01:14 -0800 (PST) Linus Torvalds [EMAIL PROTECTED] wrote: I absolutely have no problem with having a this is the infrastrcture changes that will go into the next release. In fact, I can even *maintain* such a branch. I've not wanted to

Re: [Openipmi-developer] [PATCH 3/4] IPMI: convert locked counters to atomics

2008-02-20 Thread Corey Minyard
Matt Domsch wrote: On Thu, Feb 14, 2008 at 12:30:51PM -0600, Corey Minyard wrote: From: Konstantin Baydarov [EMAIL PROTECTED] Atomics are a lot more efficient and neat than using a lock. per_cpu variables are a lot more efficient and neat than using locks for simple statistics. no

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-20 Thread Clemens Koller
Paul Mackerras schrieb: Andrew Morton writes: Bizarrely, the original author of the patch (Anton) has fallen off the cc. Could whoever did that please thwap himself? Anyway, my head is now officially spinning. Did anyone actually have a reason why we shouldn't proceed with Anton's patch?

Re: ftrace causing panics.

2008-02-20 Thread Steven Rostedt
Dhaval Giani wrote: sched-devel as of yesterday. (I don't think anything new has gone in today). I just sent Ingo my fixes a few minutes ago. You may want to keep an I out on updates to sched-devel. [sorry, not had enough time to get to the bottom of this the last few days] No prob.

Re: Announce: Linux-next (Or Andrew's dream :-))

2008-02-20 Thread Theodore Tso
On Wed, Feb 20, 2008 at 04:38:52PM +0100, Stefan Richter wrote: Two things may largely eliminate the need for parallel branches. 1. Do infrastructure changes and whole tree wide refactoring etc. in a compatible manner with a brief but nonzero transition period. 2. Insert a second merge

Re: ftrace causing panics.

2008-02-20 Thread Ingo Molnar
* Steven Rostedt [EMAIL PROTECTED] wrote: sched-devel as of yesterday. (I don't think anything new has gone in today). I just sent Ingo my fixes a few minutes ago. You may want to keep an I out on updates to sched-devel. it's now all up in sched-devel.git. Ingo -- To unsubscribe

Re: [PATCH] Document huge memory/cache overhead of memory controller in Kconfig

2008-02-20 Thread Jan Engelhardt
On Feb 20 2008 20:50, Balbir Singh wrote: John Stoffel wrote: I know this is a pedantic comment, but why the heck is it called such a generic term as Memory Controller which doesn't give any indication of what it does. Shouldn't it be something like Memory Quota Controller, or Memory

Re: USB regression (and other failures) in 2.6.2[45]* - mostly resolved

2008-02-20 Thread Alan Stern
On Tue, 19 Feb 2008, Andrew Buehler wrote: With those two problems out of the way, what is left is the hard-drive issue, and that is also halfway fixed by enabling ACPI. Specifically, it is fixed in that the kernel sees the hard drive and I can mount it, but it is not fixed in that the

[PATCH] atmel_spi: support zero length transfer

2008-02-20 Thread Atsushi Nemoto
A spi transfer with zero length is not invalid. Such transfer can be used to achieve delay before first CLK edge after chipselect assertion. Signed-off-by: Atsushi Nemoto [EMAIL PROTECTED] --- diff --git a/drivers/spi/atmel_spi.c b/drivers/spi/atmel_spi.c index 293b7ca..5dff5e0 100644 ---

Re: [GIT PULL?] Create and populate toplevel tests/ for kernel tests

2008-02-20 Thread Ananth N Mavinakayanahalli
On Tue, Feb 19, 2008 at 08:21:53PM +0100, Sam Ravnborg wrote: Hi Anath. Hi Sam, Linus did not pull this in the -rc1 to -rc2 timeframe so please resubmit the patch serie one week into the next merge window (when most of the trees has hit linus' tree and Andrew has made his first merge).

Re: linux-next: Tree for Feb 20

2008-02-20 Thread James Bottomley
On Thu, 2008-02-21 at 02:20 +1100, Stephen Rothwell wrote: Hi James, On Wed, 20 Feb 2008 08:59:20 -0600 James Bottomley [EMAIL PROTECTED] wrote: Is the merge log available anywhere yet? Are you looking for more that what is in Next/merge.log in the tree? Yes, that's it, thanks! James

Re: [PATCH 1/2] x86_64: Fold pda into per cpu area v3

2008-02-20 Thread Mike Travis
Eric Dumazet wrote: On Wed, 20 Feb 2008 13:07:47 +0100 Ingo Molnar [EMAIL PROTECTED] wrote: * Mike Travis [EMAIL PROTECTED] wrote: * Declare the pda as a per cpu variable. This will move the pda area to an address accessible by the x86_64 per cpu macros. Subtraction of

[PATCH 00/37] Permit filesystem local caching

2008-02-20 Thread David Howells
These patches add local caching for network filesystems such as NFS. The patches can roughly be broken down into a number of sets: (*) 01-keys-inc-payload.diff (*) 02-keys-search-keyring.diff (*) 03-keys-callout-blob.diff Three patches to the keyring code made to help the CIFS

[PATCH 03/37] KEYS: Allow the callout data to be passed as a blob rather than a string

2008-02-20 Thread David Howells
Allow the callout data to be passed as a blob rather than a string for internal kernel services that call any request_key_*() interface other than request_key(). request_key() itself still takes a NUL-terminated string. The functions that change are: request_key_with_auxdata()

[PATCH 10/37] Security: Make NFSD work with detached security

2008-02-20 Thread David Howells
Make NFSD work with detached security, using the patches that excise the security information from task_struct to struct task_security as a base. Each time NFSD wants a new security descriptor (to do NFS4 recovery or just to do NFS operations), a task_security record is derived from NFSD's

[PATCH 13/37] FS-Cache: Provide an add_wait_queue_tail() function

2008-02-20 Thread David Howells
Provide an add_wait_queue_tail() function to add a waiter to the back of a wait queue instead of the front. Signed-off-by: David Howells [EMAIL PROTECTED] --- include/linux/pagemap.h |7 +-- include/linux/wait.h|1 + kernel/wait.c | 18 ++

[PATCH 05/37] Security: Change current-fs[ug]id to current_fs[ug]id()

2008-02-20 Thread David Howells
Change current-fs[ug]id to current_fs[ug]id() so that fsgid and fsuid can be separated from the task_struct. Signed-off-by: David Howells [EMAIL PROTECTED] --- arch/ia64/kernel/perfmon.c|4 ++-- arch/powerpc/platforms/cell/spufs/inode.c |4 ++--

[PATCH 09/37] Security: Allow kernel services to override LSM settings for task actions

2008-02-20 Thread David Howells
Allow kernel services to override LSM settings appropriate to the actions performed by a task by duplicating a security record, modifying it and then using task_struct::act_as to point to it when performing operations on behalf of a task. This is used, for example, by CacheFiles which has to

[PATCH 02/37] KEYS: Check starting keyring as part of search

2008-02-20 Thread David Howells
Check the starting keyring as part of the search to (a) see if that is what we're searching for, and (b) to check it is still valid for searching. The scenario: User in process A does things that cause things to be created in its process session keyring. The user then does an su to another user

[PATCH 23/37] NFS: Permit local filesystem caching to be enabled for NFS

2008-02-20 Thread David Howells
Permit local filesystem caching to be enabled for NFS in the kernel configuration. Signed-off-by: David Howells [EMAIL PROTECTED] --- fs/Kconfig |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/fs/Kconfig b/fs/Kconfig index c42ec50..fa8e978 100644 ---

[PATCH 08/37] Security: Add a kernel_service object class to SELinux

2008-02-20 Thread David Howells
Add a 'kernel_service' object class to SELinux and give this object class two access vectors: 'use_as_override' and 'create_files_as'. The first vector is used to grant a process the right to nominate an alternate process security ID for the kernel to use as an override for the SELinux subjective

[PATCH 11/37] FS-Cache: Release page-private after failed readahead

2008-02-20 Thread David Howells
The attached patch causes read_cache_pages() to release page-private data on a page for which add_to_page_cache() fails or the filler function fails. This permits pages with caching references associated with them to be cleaned up. The invalidatepage() address space op is called (indirectly) to

[PATCH 01/37] KEYS: Increase the payload size when instantiating a key

2008-02-20 Thread David Howells
Increase the size of a payload that can be used to instantiate a key in add_key() and keyctl_instantiate_key(). This permits huge CIFS SPNEGO blobs to be passed around. The limit is raised to 1MB. If kmalloc() can't allocate a buffer of sufficient size, vmalloc() will be tried instead.

[PATCH 28/37] NFS: Use local disk inode cache

2008-02-20 Thread David Howells
Bind data storage objects in the local cache to NFS inodes. Signed-off-by: David Howells [EMAIL PROTECTED] --- fs/nfs/fscache.c | 131 fs/nfs/fscache.h | 19 +++ fs/nfs/inode.c | 39 --

[PATCH 04/37] KEYS: Add keyctl function to get a security label

2008-02-20 Thread David Howells
Add a keyctl() function to get the security label of a key. The following is added to Documentation/keys.txt: (*) Get the LSM security context attached to a key. long keyctl(KEYCTL_GET_SECURITY, key_serial_t key, char *buffer, size_t buflen) This function

[PATCH 26/37] NFS: Define and create superblock-level objects

2008-02-20 Thread David Howells
Define and create superblock-level cache index objects (as managed by nfs_server structs). Each superblock object is created in a server level index object and is itself an index into which inode-level objects are inserted. Ideally there would be one superblock-level object per server, and the

[PATCH 22/37] NFS: Add FS-Cache option bit and debug bit

2008-02-20 Thread David Howells
Add FS-Cache option bit to nfs_server struct. This is set to indicate local on-disk caching is enabled for a particular superblock. Also add debug bit for local caching operations. Signed-off-by: David Howells [EMAIL PROTECTED] --- include/linux/nfs_fs.h|1 + include/linux/nfs_fs_sb.h

[PATCH 16/37] CacheFiles: Be consistent about the use of mapping vs file-f_mapping in Ext3

2008-02-20 Thread David Howells
Change all the usages of file-f_mapping in ext3_*write_end() functions to use the mapping argument directly. This has two consequences: (*) Consistency. Without this patch sometimes one is used and sometimes the other is. (*) A NULL file pointer can be passed. This feature is then made

[PATCH 12/37] FS-Cache: Recruit a couple of page flags for cache management

2008-02-20 Thread David Howells
Recruit a couple of page flags to aid in cache management. The following extra flags are defined: (1) PG_fscache (PG_private_2) The marked page is backed by a local cache and is pinning resources in the cache driver. (2) PG_fscache_write (PG_owner_priv_2) The marked page is

[PATCH 29/37] NFS: Invalidate FsCache page flags when cache removed

2008-02-20 Thread David Howells
Invalidate the FsCache page flags on the pages belonging to an inode when the cache backing that NFS inode is removed. This allows a live cache to be withdrawn. Signed-off-by: David Howells [EMAIL PROTECTED] --- fs/nfs/fscache-index.c | 40 1 files

Re: USB OOPS 2.6.25-rc2-git1

2008-02-20 Thread Alan Stern
On Tue, 19 Feb 2008, David Brownell wrote: Please try that diagnostic patch I sent ... with CONFIG_USB_DEBUG. Near as I can tell this is caused by some hardware oddity that needs to be worked around. We seem to be at stage where we've fixed some problems, nudging code paths around so

[PATCH 25/37] NFS: Define and create server-level objects

2008-02-20 Thread David Howells
Define and create server-level cache index objects (as managed by nfs_client structs). Each server object is created in the NFS top-level index object and is itself an index into which superblock-level objects are inserted. Ideally there would be one superblock-level object per server, and the

[PATCH 33/37] NFS: nfs_readpage_async() needs to be accessible as a fallback for local caching

2008-02-20 Thread David Howells
nfs_readpage_async() needs to be non-static so that it can be used as a fallback for the local on-disk caching should an EIO crop up when reading the cache. Signed-off-by: David Howells [EMAIL PROTECTED] --- fs/nfs/read.c |4 ++-- include/linux/nfs_fs.h |2 ++ 2 files changed,

[PATCH 36/37] NFS: Display local caching state

2008-02-20 Thread David Howells
Display the local caching state in /proc/fs/nfsfs/volumes. Signed-off-by: David Howells [EMAIL PROTECTED] --- fs/nfs/client.c |7 --- fs/nfs/fscache.h | 15 +++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/fs/nfs/client.c b/fs/nfs/client.c index

[PATCH 34/37] NFS: Read pages from FS-Cache into an NFS inode

2008-02-20 Thread David Howells
Read pages from an FS-Cache data storage object representing an inode into an NFS inode. Signed-off-by: David Howells [EMAIL PROTECTED] --- fs/nfs/fscache.c | 112 ++ fs/nfs/fscache.h | 47 +++ fs/nfs/read.c| 18

[PATCH 18/37] CacheFiles: Permit the page lock state to be monitored

2008-02-20 Thread David Howells
Add a function to install a monitor on the page lock waitqueue for a particular page, thus allowing the page being unlocked to be detected. This is used by CacheFiles to detect read completion on a page in the backing filesystem so that it can then copy the data to the waiting netfs page.

[PATCH 35/37] NFS: Store pages from an NFS inode into a local cache

2008-02-20 Thread David Howells
Store pages from an NFS inode into the cache data storage object associated with that inode. Signed-off-by: David Howells [EMAIL PROTECTED] --- fs/nfs/fscache.c | 26 ++ fs/nfs/fscache.h | 16 fs/nfs/read.c|5 + 3 files changed, 47

[PATCH 17/37] CacheFiles: Add a hook to write a single page of data to an inode

2008-02-20 Thread David Howells
Add an address space operation to write one single page of data to an inode at a page-aligned location (thus permitting the implementation to be highly optimised). The data source is a single page. This is used by CacheFiles to store the contents of netfs pages into their backing file pages.

[PATCH 31/37] NFS: FS-Cache page management

2008-02-20 Thread David Howells
FS-Cache page management for NFS. This includes hooking the releasing and invalidation of pages marked with PG_fscache (aka PG_private_2) and waiting for completion of the write-to-cache flag (PG_fscache_write aka PG_owner_priv_2). Signed-off-by: David Howells [EMAIL PROTECTED] ---

Re: [PATCH] Document huge memory/cache overhead of memory controller in Kconfig

2008-02-20 Thread John Stoffel
Jan == Jan Engelhardt [EMAIL PROTECTED] writes: Jan On Feb 20 2008 20:50, Balbir Singh wrote: John Stoffel wrote: I know this is a pedantic comment, but why the heck is it called such a generic term as Memory Controller which doesn't give any indication of what it does. Shouldn't it be

[PATCH 30/37] NFS: Add some new I/O event counters for FS-Cache events

2008-02-20 Thread David Howells
Add some new NFS I/O event counters for FS-Cache events. They have to be added as byte counters because I may need to be able to increase the numbers by more than 1 at a time. Signed-off-by: David Howells [EMAIL PROTECTED] --- fs/nfs/iostat.h |7 +++ 1 files changed, 7 insertions(+), 0

[PATCH 32/37] NFS: Add read context retention for FS-Cache to call back with

2008-02-20 Thread David Howells
Add read context retention so that FS-Cache can call back into NFS when a read operation on the cache fails EIO rather than reading data. This permits NFS to then fetch the data from the server instead using the appropriate security context. Signed-off-by: David Howells [EMAIL PROTECTED] ---

state of GEN_RTC vs rtc subsystem

2008-02-20 Thread Kumar Gala
Is the functionality provided by drivers/char/gen_rtc.c completely handled by the rtc subsystem in drivers/rtc? I ask for two reasons: 1. should we make it mutually exclusive in Kconfig 2. I've enabled both and get (we'll my defconfig did): proc_dir_entry 'rtc' already registered Call Trace:

<    4   5   6   7   8   9   10   11   12   13   >