[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 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 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 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 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

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

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: [] find_next_entry+0x4f/0x84 Dhaval, First, thanks for testing Are you

[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

[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: [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 > >

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

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

Re: PL2303 Driver missing support for USB to Serial Cable

2008-02-20 Thread Stephan Rose
On Sun, 2008-02-17 at 21:06 -0800, Greg KH wrote: > On Sat, Feb 16, 2008 at 11:35:16PM +1030, David Newall wrote: > > Stephan, > > > > Jiri Slaby wrote: > > > On 02/14/2008 03:57 PM, Stephan Rose wrote: > > >> I recently purchased a USB->Com Port serial cable from Radio Shack > > >> (Model

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 > > > >

Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes

2008-02-20 Thread Stephane Chazelas
2008-02-19 23:33:38 +0100, Arnd Bergmann: > On Tuesday 19 February 2008, you wrote: > > > What about having a /dev/block2mtd (with owner/permissions that > > > could allow non-root users to use it), with 2 ioctls: > > > > > > - one to "link" a block dev to a mtd that would take as > > >  

Re: [PATCH] mmu notifiers #v6

2008-02-20 Thread Robin Holt
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 Christoph's patch, we did not use rcu for the list. It was a simple

adapter, what's in a name

2008-02-20 Thread Karl Dahlke
First, my mail client, edbrowse.sourceforge.net, doesn't have a reply all function. Never needed it. Guess I better implement it. :-) Should probably take me a couple days of spare time, if I can find a couple days of spare time; and I'm sure other users will want it. Meantime, I pulled the

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),

Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes

2008-02-20 Thread Stephane Chazelas
2008-02-19 16:08:22 +0100, Jörn Engel: > [ Just returned home. ] Hi Jörn, I've got to admit I've been a little too busy to look at it myself. I'll send a patch for the obvious fixes soon though. [...] > > Well, yes that raised a concern to me, the "exit" function > > returns "void". If the

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,

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//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: linux-next: first tree

2008-02-20 Thread Stephen Rothwell
issue by tagging each tree with its date i.e. todays was next-20080220. > Also will you be producing any tarballs for these releases? If so I > would say they would definatly need to be against some common base, like > against the nearest official tag "below". I hadn't consid

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

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

2008-02-20 Thread Tilman Schmidt
Gregory Nietsky schrieb: ive been hackin away at mISDN for a while and use it with recent kernels 2.6.2X and have a patch for 2.6.24 (move from semaphore to complition) the distro we built is heavily reliant on mISDN (voip) i dont use the isdn kernel drivers at all any longer. im all for

Re: [PATCH] Tasklets: Avoid duplicating __tasklet_{,hi_}schedule() code

2008-02-20 Thread Dmitry Adamushko
On 20/02/2008, Ahmed S. Darwish <[EMAIL PROTECTED]> wrote: > On Wed, Feb 20, 2008 at 11:41:13AM +0100, Ingo Molnar wrote: > > > > * Ahmed S. Darwish <[EMAIL PROTECTED]> wrote: > > > > > > > - local_irq_disable(); > > > > > - t->next = __get_cpu_var(tasklet_vec).list; >

Re: git tree with VFS stuff

2008-02-20 Thread Stephen Rothwell
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//mountinfo > - unprivileged mounts > >

Re: [kvm-devel] build #365 issue for v2.6.25-rc2-342-g5d9c4a7 in ./arch/x86/kvm/kvm.ko

2008-02-20 Thread Avi Kivity
Avi Kivity wrote: Toralf Förster wrote: Hello, the build with the attached .config failed, make ends with: ... HOSTCC arch/x86/boot/tools/build BUILD arch/x86/boot/bzImage Root device is (3, 8) Setup is 12280 bytes (padded to 12288 bytes). System is 2192 kB Kernel: arch/x86/boot/bzImage

Re: PowerPC toolchain for x86 [Was: pci_device_id cleanups]

2008-02-20 Thread Jonas Bonn
Sam Ravnborg wrote: On Wed, Feb 20, 2008 at 02:27:19PM +0100, Jonas Bonn wrote: Sam Ravnborg wrote: On Wed, Feb 20, 2008 at 01:53:36PM +0100, Jonas Bonn wrote: The PCI_DEVICE_TABLE patch I sent earlier doesn't necessarily make much sense by itself... here is a set of patches that apply this

Re: [RFC PATCH 1/8] [NET]: uninline skb_put, de-bloats a lot

2008-02-20 Thread Eric Dumazet
On Wed, 20 Feb 2008 15:47:11 +0200 "Ilpo Järvinen" <[EMAIL PROTECTED]> wrote: > ~500 files changed > ... > kernel/uninlined.c: > skb_put | +104 > 1 function changed, 104 bytes added, diff: +104 > > vmlinux.o: > 869 functions changed, 198 bytes added, 111003 bytes

Re: [kvm-devel] build #365 issue for v2.6.25-rc2-342-g5d9c4a7 in ./arch/x86/kvm/kvm.ko

2008-02-20 Thread Avi Kivity
Toralf Förster wrote: Hello, the build with the attached .config failed, make ends with: ... HOSTCC arch/x86/boot/tools/build BUILD arch/x86/boot/bzImage Root device is (3, 8) Setup is 12280 bytes (padded to 12288 bytes). System is 2192 kB Kernel: arch/x86/boot/bzImage is ready (#1)

[RFC][PATCH] make /proc/pid/pagemap work with huge pages and return page size

2008-02-20 Thread Hans Rosenfeld
The current code for /proc/pid/pagemap does not work with huge pages (on x86). The code will make no difference between a normal pmd and a huge page pmd, trying to parse the contents of the huge page as ptes. Another problem is that there is no way to get information about the page size a specific

PowerPC toolchain for x86 [Was: pci_device_id cleanups]

2008-02-20 Thread Sam Ravnborg
On Wed, Feb 20, 2008 at 02:27:19PM +0100, Jonas Bonn wrote: > Sam Ravnborg wrote: > >On Wed, Feb 20, 2008 at 01:53:36PM +0100, Jonas Bonn wrote: > >>The PCI_DEVICE_TABLE patch I sent earlier doesn't necessarily make > >>much sense by itself... here is a set of patches that apply > >>this macro, in

Re: [RFC PATCH 1/8] [NET]: uninline skb_put, de-bloats a lot

2008-02-20 Thread Patrick McHardy
Ilpo Järvinen wrote: ~500 files changed ... kernel/uninlined.c: skb_put | +104 1 function changed, 104 bytes added, diff: +104 vmlinux.o: 869 functions changed, 198 bytes added, 111003 bytes removed, diff: -110805 This change is INCOMPLETE, I think that the call to

Re: mm/slub.c: inconsequent NULL checking

2008-02-20 Thread Pekka Enberg
Hi Adrian, On 2/20/2008, "Adrian Bunk" <[EMAIL PROTECTED]> wrote: > The Coverity checker spotted the following inconsequent NULL checking > introduced by commit 8ff12cfc009a2a38d87fa7058226fe197bb2696f: > > <-- snip --> > > ... > static inline int is_end(void *addr) > { > return

[RFC PATCH 5/8] [NET]: uninline dst_release

2008-02-20 Thread Ilpo Järvinen
Codiff stats: -16420 187 funcs, 103 +, 16523 -, diff: -16420 --- dst_release Signed-off-by: Ilpo Järvinen <[EMAIL PROTECTED]> --- include/net/dst.h | 10 +- net/core/dst.c| 10 ++ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/include/net/dst.h

[RFC PATCH 7/8] [SCTP]: uninline sctp_add_cmd_sf

2008-02-20 Thread Ilpo Järvinen
I added inline to sctp_add_cmd and appropriate comment there to avoid adding another call into the call chain. This works at least with "gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-13)". Alternatively, __sctp_add_cmd could be introduced to .h. net/sctp/sm_statefuns.c: sctp_sf_cookie_wait_prm_abort

[RFC PATCH 8/8] Jhash in too big for inlining, move under lib/

2008-02-20 Thread Ilpo Järvinen
vmlinux.o: 62 functions changed, 66 bytes added, 10935 bytes removed, diff: -10869 ...+ these to lib/jhash.o: jhash_3words: 112 jhash2: 276 jhash: 475 select for networking code might need a more fine-grained approach. Signed-off-by: Ilpo Järvinen <[EMAIL PROTECTED]> ---

[RFC PATCH 2/8] [NET]: uninline skb_pull, de-bloats a lot

2008-02-20 Thread Ilpo Järvinen
-28162 354 funcs, 3005 +, 31167 -, diff: -28162 --- skb_pull Signed-off-by: Ilpo Järvinen <[EMAIL PROTECTED]> --- include/linux/skbuff.h | 15 +-- net/core/skbuff.c | 16 2 files changed, 17 insertions(+), 14 deletions(-) diff --git

[RFC PATCH 6/8] [NET]: uninline skb_trim, de-bloats

2008-02-20 Thread Ilpo Järvinen
-10976 209 funcs, 123 +, 11099 -, diff: -10976 --- skb_trim Signed-off-by: Ilpo Järvinen <[EMAIL PROTECTED]> --- include/linux/skbuff.h | 16 +--- net/core/skbuff.c | 16 2 files changed, 17 insertions(+), 15 deletions(-) diff --git

[RFC PATCH 3/8] [NET]: uninline dev_alloc_skb, de-bloats a lot

2008-02-20 Thread Ilpo Järvinen
-23668 392 funcs, 104 +, 23772 -, diff: -23668 --- dev_alloc_skb Signed-off-by: Ilpo Järvinen <[EMAIL PROTECTED]> --- include/linux/skbuff.h | 17 + net/core/skbuff.c | 18 ++ 2 files changed, 19 insertions(+), 16 deletions(-) diff --git

[RFC PATCH 1/8] [NET]: uninline skb_put, de-bloats a lot

2008-02-20 Thread Ilpo Järvinen
~500 files changed ... kernel/uninlined.c: skb_put | +104 1 function changed, 104 bytes added, diff: +104 vmlinux.o: 869 functions changed, 198 bytes added, 111003 bytes removed, diff: -110805 This change is INCOMPLETE, I think that the call to current_text_addr()

[RFC PATCH 4/8] [NET]: uninline skb_push, de-bloats a lot

2008-02-20 Thread Ilpo Järvinen
-21593 356 funcs, 2418 +, 24011 -, diff: -21593 --- skb_push Again, current_text_addr() needs to addressed. Signed-off-by: Ilpo Järvinen <[EMAIL PROTECTED]> --- include/linux/skbuff.h | 18 +- net/core/skbuff.c | 19 +++ 2 files changed, 20

[RFC PATCH 0/8]: uninline & uninline

2008-02-20 Thread Ilpo Järvinen
Hi all, I run some lengthy tests to measure cost of inlines in headers under include/, simple coverage calculations yields to 89% but most of the failed compiles are due to preprocessor cutting the tested block away anyway. Test setup: v2.6.24-mm1, make allyesconfig, 32-bit x86, gcc (GCC) 4.1.2

Re: [PATCH] Tasklets: Avoid duplicating __tasklet_{,hi_}schedule() code

2008-02-20 Thread Ahmed S. Darwish
On Wed, Feb 20, 2008 at 11:41:13AM +0100, Ingo Molnar wrote: > > * Ahmed S. Darwish <[EMAIL PROTECTED]> wrote: > > > > > - local_irq_disable(); > > > > - t->next = __get_cpu_var(tasklet_vec).list; > > > > - __get_cpu_var(tasklet_vec).list = t; > > > > -

Re: [dm-devel] Re: [PATCH] Implement barrier support for single device DM devices

2008-02-20 Thread Ric Wheeler
Jeremy Higdon wrote: On Tue, Feb 19, 2008 at 09:16:44AM +1100, David Chinner wrote: On Mon, Feb 18, 2008 at 04:24:27PM +0300, Michael Tokarev wrote: First, I still don't understand why in God's sake barriers are "working" while regular cache flushes are not. Almost no consumer-grade hard

Re: [PATCH 2.6.25-rc2 3/9] config: Improve init/Kconfig help descriptions - namespaces

2008-02-20 Thread Pavel Emelyanov
Nick Andrew wrote: > On Wed, Feb 20, 2008 at 03:23:05PM +0300, Pavel Emelyanov wrote: >>> + This is used by container systems (i.e. vservers). >>> + Tasks in the container are placed in the PID namespace >>> + corresponding to the container, and can only see or >>> + affect

[RFC PATCH 0/8]: uninline & uninline

2008-02-20 Thread Ilpo Järvinen
Hi all, I run some lengthy tests to measure cost of inlines in headers under include/, simple coverage calculations yields to 89% but most of the failed compiles are due to preprocessor cutting the tested block away anyway. Test setup: v2.6.24-mm1, make allyesconfig, 32-bit x86, gcc (GCC) 4.1.2

Re: Problem with /proc/sys/vm/lowmem_reserve_ratio

2008-02-20 Thread Andrew Morton
On Wed, 20 Feb 2008 13:53:14 +0100 Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-02-19 at 15:55 -0800, Andrew Morton wrote: > > On Tue, 19 Feb 2008 16:35:49 -0500 Larry Woodman <[EMAIL PROTECTED]> wrote: > > > > > balance_pgdat() calls zone_watermark_ok() three times, the first

Re: adapter, what's in a name

2008-02-20 Thread Stefan Richter
Jan Engelhardt wrote: > On Feb 20 2008 10:38, Stefan Richter wrote: >>Because of the high volume at this list, it is essential that >> - you keep everyone who posted in a tread in the Cc: list of your >>replies, ... > Indeed, in PINE, mails with your address in Cc get preprended with a >

Re: pci_device_id cleanups

2008-02-20 Thread Jonas Bonn
Sam Ravnborg wrote: On Wed, Feb 20, 2008 at 01:53:36PM +0100, Jonas Bonn wrote: The PCI_DEVICE_TABLE patch I sent earlier doesn't necessarily make much sense by itself... here is a set of patches that apply this macro, in turn moving a lot of this data into __devinitconst which is discardable

Re: pci_device_id cleanups

2008-02-20 Thread Sam Ravnborg
On Wed, Feb 20, 2008 at 01:53:36PM +0100, Jonas Bonn wrote: > > The PCI_DEVICE_TABLE patch I sent earlier doesn't necessarily make > much sense by itself... here is a set of patches that apply > this macro, in turn moving a lot of this data into __devinitconst > which is discardable in certain

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

2008-02-20 Thread Eric Dumazet
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

Re: [PATCH] mmu notifiers #v6

2008-02-20 Thread Robin Holt
On Wed, Feb 20, 2008 at 01:32:36PM +0100, Andrea Arcangeli wrote: > On Wed, Feb 20, 2008 at 06:24:24AM -0600, Robin Holt wrote: > > We do not need to do any allocation in the messaging layer, all > > structures used for messaging are allocated at module load time. > > The allocation discussions we

Re: [QUESTION] FRV: linking error?

2008-02-20 Thread Sam Ravnborg
On Wed, Feb 20, 2008 at 01:01:05PM +, David Howells wrote: > Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: > > > being see over vmlinux.lds for FRV architecture I found the string: > > > > . = ALIGN(4096); > > .data.page_aligned : { *(.data.idt) } > > > > though the PAGE_SIZE is 16K.

Re: [PATCH 2.6.25-rc2 3/9] config: Improve init/Kconfig help descriptions - namespaces

2008-02-20 Thread Nick Andrew
On Wed, Feb 20, 2008 at 03:23:05PM +0300, Pavel Emelyanov wrote: > > + This is used by container systems (i.e. vservers). > > + Tasks in the container are placed in the PID namespace > > + corresponding to the container, and can only see or > > + affect processes in the same PID

Re: [QUESTION] FRV: linking error?

2008-02-20 Thread David Howells
Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: > being see over vmlinux.lds for FRV architecture I found the string: > > . = ALIGN(4096); > .data.page_aligned : { *(.data.idt) } > > though the PAGE_SIZE is 16K. Can't figure out why is that... > Do you have a few spare minutes to

Re: BT8x8 support

2008-02-20 Thread Alan Goodman
Looks OK to me! Alan I have the following hardware installed in my Linux Box. 01:07.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11) 01:07.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11) and the following devices installed in /dev

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

2008-02-20 Thread Balbir Singh
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 single > cache line now anymore and also costs

[PATCH] [net] use PCI_DEVICE_TABLE: makes struct pci_device_id array const and adds section attribute __devinitconst

2008-02-20 Thread Jonas Bonn
Signed-off-by: Jonas Bonn <[EMAIL PROTECTED]> --- drivers/net/pasemi_mac.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c index 2e39e02..069fa7c 100644 --- a/drivers/net/pasemi_mac.c +++ b/drivers/net/pasemi_mac.c @@

[PATCH] [net] use PCI_DEVICE_TABLE: makes struct pci_device_id array const and adds section attribute __devinitconst

2008-02-20 Thread Jonas Bonn
Signed-off-by: Jonas Bonn <[EMAIL PROTECTED]> --- drivers/net/skfp/skfddi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/skfp/skfddi.c b/drivers/net/skfp/skfddi.c index 7cf9b9f..2a8386b 100644 --- a/drivers/net/skfp/skfddi.c +++ b/drivers/net/skfp/skfddi.c

[PATCH] [net] use PCI_DEVICE_TABLE: makes struct pci_device_id array const and adds section attribute __devinitconst

2008-02-20 Thread Jonas Bonn
Signed-off-by: Jonas Bonn <[EMAIL PROTECTED]> --- drivers/net/sk98lin/skge.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/sk98lin/skge.c b/drivers/net/sk98lin/skge.c index 20890e4..eedcbeb 100644 --- a/drivers/net/sk98lin/skge.c +++

[PATCH] [net] use PCI_DEVICE_TABLE: makes struct pci_device_id array const and adds section attribute __devinitconst

2008-02-20 Thread Jonas Bonn
Signed-off-by: Jonas Bonn <[EMAIL PROTECTED]> --- drivers/net/defxx.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/defxx.c b/drivers/net/defxx.c index ddc30c4..84a3ce5 100644 --- a/drivers/net/defxx.c +++ b/drivers/net/defxx.c @@ -3630,7 +3630,7 @@ static

[PATCH] [net] use PCI_DEVICE_TABLE: makes struct pci_device_id array const and adds section attribute __devinitconst

2008-02-20 Thread Jonas Bonn
Signed-off-by: Jonas Bonn <[EMAIL PROTECTED]> --- drivers/net/sunhme.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/sunhme.c b/drivers/net/sunhme.c index b4e7f30..beb0d27 100644 --- a/drivers/net/sunhme.c +++ b/drivers/net/sunhme.c @@ -3247,7 +3247,7 @@

[PATCH] [net] use PCI_DEVICE_TABLE: makes struct pci_device_id array const and adds section attribute __devinitconst

2008-02-20 Thread Jonas Bonn
Signed-off-by: Jonas Bonn <[EMAIL PROTECTED]> --- drivers/net/arcnet/com20020-pci.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/arcnet/com20020-pci.c b/drivers/net/arcnet/com20020-pci.c index b8c0fa6..87ee0db 100644 ---

[PATCH] [net] use PCI_DEVICE_TABLE: makes struct pci_device_id array const and adds section attribute __devinitconst

2008-02-20 Thread Jonas Bonn
Signed-off-by: Jonas Bonn <[EMAIL PROTECTED]> --- drivers/net/wan/dscc4.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wan/dscc4.c b/drivers/net/wan/dscc4.c index c6f26e2..16d3a4c 100644 --- a/drivers/net/wan/dscc4.c +++ b/drivers/net/wan/dscc4.c @@

[PATCH] [net] use PCI_DEVICE_TABLE: makes struct pci_device_id array const and adds section attribute __devinitconst

2008-02-20 Thread Jonas Bonn
Signed-off-by: Jonas Bonn <[EMAIL PROTECTED]> --- drivers/net/tlan.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/tlan.c b/drivers/net/tlan.c index 3af5b92..bea59c6 100644 --- a/drivers/net/tlan.c +++ b/drivers/net/tlan.c @@ -253,7 +253,7 @@ static struct

[PATCH] [net] use PCI_DEVICE_TABLE: makes struct pci_device_id array const and adds section attribute __devinitconst

2008-02-20 Thread Jonas Bonn
Signed-off-by: Jonas Bonn <[EMAIL PROTECTED]> --- drivers/net/amd8111e.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/amd8111e.c b/drivers/net/amd8111e.c index 85f7276..a4ad2fb 100644 --- a/drivers/net/amd8111e.c +++ b/drivers/net/amd8111e.c @@ -113,7

[PATCH] [net] use PCI_DEVICE_TABLE: makes struct pci_device_id array const and adds section attribute __devinitconst

2008-02-20 Thread Jonas Bonn
Signed-off-by: Jonas Bonn <[EMAIL PROTECTED]> --- drivers/net/niu.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/niu.c b/drivers/net/niu.c index e98ce1e..ab8148a 100644 --- a/drivers/net/niu.c +++ b/drivers/net/niu.c @@ -62,7 +62,7 @@ static void

[PATCH] [net] use PCI_DEVICE_TABLE: makes struct pci_device_id array const and adds section attribute __devinitconst

2008-02-20 Thread Jonas Bonn
Signed-off-by: Jonas Bonn <[EMAIL PROTECTED]> --- drivers/net/starfire.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/starfire.c b/drivers/net/starfire.c index c49214f..a67bac5 100644 --- a/drivers/net/starfire.c +++ b/drivers/net/starfire.c @@ -337,7

[PATCH] [net] use PCI_DEVICE_TABLE: makes struct pci_device_id array const and adds section attribute __devinitconst

2008-02-20 Thread Jonas Bonn
Signed-off-by: Jonas Bonn <[EMAIL PROTECTED]> --- drivers/net/3c59x.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c index 6f8e7d4..d2045d4 100644 --- a/drivers/net/3c59x.c +++ b/drivers/net/3c59x.c @@ -372,7 +372,7 @@ static

[PATCH] [net] use PCI_DEVICE_TABLE: makes struct pci_device_id array const and adds section attribute __devinitconst

2008-02-20 Thread Jonas Bonn
Signed-off-by: Jonas Bonn <[EMAIL PROTECTED]> --- drivers/net/wan/lmc/lmc_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c index 6635ece..e85cfe7 100644 --- a/drivers/net/wan/lmc/lmc_main.c +++

pci_device_id cleanups

2008-02-20 Thread Jonas Bonn
The PCI_DEVICE_TABLE patch I sent earlier doesn't necessarily make much sense by itself... here is a set of patches that apply this macro, in turn moving a lot of this data into __devinitconst which is discardable in certain situations. Hopefully the benefit of this approach is a bit clearer

[PATCH] Add PCI_DEVICE_TABLE macro

2008-02-20 Thread Jonas Bonn
The definitions of struct pci_device_id arrays should generally follow the same pattern across the entire kernel. This macro defines this array as const and puts it into the __devinitconst section. Signed-off-by: Jonas Bonn <[EMAIL PROTECTED]> --- include/linux/pci.h |9 + 1 files

[PATCH] [net] use PCI_DEVICE_TABLE: makes struct pci_device_id array const and adds section attribute __devinitconst

2008-02-20 Thread Jonas Bonn
Signed-off-by: Jonas Bonn <[EMAIL PROTECTED]> --- drivers/net/hamachi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/hamachi.c b/drivers/net/hamachi.c index b53f6b6..d8056e9 100644 --- a/drivers/net/hamachi.c +++ b/drivers/net/hamachi.c @@ -1987,7 +1987,7

Re: Problem with /proc/sys/vm/lowmem_reserve_ratio

2008-02-20 Thread Peter Zijlstra
On Tue, 2008-02-19 at 15:55 -0800, Andrew Morton wrote: > On Tue, 19 Feb 2008 16:35:49 -0500 Larry Woodman <[EMAIL PROTECTED]> wrote: > > > balance_pgdat() calls zone_watermark_ok() three times, the first call > > passes a zero(0) in as the 4th argument. This 4th argument is the > >

Re: Improve init/Kconfig help descriptions [PATCH 6/9]

2008-02-20 Thread Nick Andrew
On Tue, Feb 19, 2008 at 09:39:58AM -0600, Paul Jackson wrote: > I don't think /proc//cpuset (PROC_PID_CPUSET) is, or should be, > deprecated. Ok, I had just picked up on the "legacy" word in the option title and assumed that it meant deprecated. This is what I've got now: config

Re: [PATCH] mmu notifiers #v6

2008-02-20 Thread Andrea Arcangeli
On Wed, Feb 20, 2008 at 06:24:24AM -0600, Robin Holt wrote: > We do not need to do any allocation in the messaging layer, all > structures used for messaging are allocated at module load time. > The allocation discussions we had early on were about trying to > rearrange you notifiers to allow a

Re: [PATCH 2.6.25-rc2 3/9] config: Improve init/Kconfig help descriptions - namespaces

2008-02-20 Thread Pavel Emelyanov
Nick Andrew wrote: > Rewrite the help descriptions for clarity, accuracy and consistency. > > Kernel config options affected: > > - NAMESPACES > - UTS_NS > - IPC_NS > - USER_NS > - PID_NS > > Signed-off-by: Nick Andrew <[EMAIL PROTECTED]> > --- > Here's try #2 at the 3rd patch in the

Re: [PATCH] mmu notifiers #v6

2008-02-20 Thread Robin Holt
On Wed, Feb 20, 2008 at 01:03:24PM +0100, Andrea Arcangeli wrote: > I'm unconvinced both the main linux VM and the mmu notifier should be > changed like this just to support xpmem. All non-sleeping users don't > need that. Nevertheless I'm fully welcome to support xpmem (and it's > not my call nor

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

2008-02-20 Thread Andi Kleen
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 single cache line now anymore and also costs considerable amounts of RAM. At

[PATCH 2.6.25-rc2 3/9] config: Improve init/Kconfig help descriptions - namespaces

2008-02-20 Thread Nick Andrew
Rewrite the help descriptions for clarity, accuracy and consistency. Kernel config options affected: - NAMESPACES - UTS_NS - IPC_NS - USER_NS - PID_NS Signed-off-by: Nick Andrew <[EMAIL PROTECTED]> --- Here's try #2 at the 3rd patch in the series, for namespace descriptions. Patching

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

2008-02-20 Thread Anton Vorontsov
On Wed, Feb 20, 2008 at 11:56:35AM +1100, Paul Mackerras wrote: > 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

[BUG?] APM is hidden in menuconfig

2008-02-20 Thread Jarek Poplawski
Hi, I needed APM to have poweroff on old box. So, in 2.6.24.2 menuconfig: 1) Power management options --> No APM. 2) [*] Power Management support No APM. I can see ACPI... 3) I try searching with "/" + "APM" APM [=n] Depends on: !X86_VOYAGER && X86_32 && PM_SLEEP && !X86_VISWS 4) I

Re: [PATCH] x86: use explicit timing delay for pit accesses in kernel and pcspkr driver

2008-02-20 Thread Rene Herman
On 18-02-08 23:44, H. Peter Anvin wrote: Rene Herman wrote: Yes, but generally not any P5+ system is going to need the PIT delay in the first place meaning it just doesn't matter. There were the VIA issues with the PIC but unless I missed it not with the PIT. Uhm, I'm not sure I believe

Re: [PATCH] mmu notifiers #v6

2008-02-20 Thread Andrea Arcangeli
On Wed, Feb 20, 2008 at 05:33:13AM -0600, Robin Holt wrote: > But won't that other "subsystem" cause us to have two seperate callouts > that do equivalent things and therefore force a removal of this and go > back to what Christoph has currently proposed? The point is that a new kind of notifier

Re: PROBLEM: I/O scheduler problem with an 8 SATA disks raid 5 under heavy load ?

2008-02-20 Thread Guillaume Laurès
Hello all, A bit of update to this issue. Switching the cabling of the most problematic drive with a new one didn't fix the issue. I couldn't yet switch the power supply with a more powerful one. However I temporarily added a pci-e SATA host and another drive, the situation was just as

Re: Disk schedulers

2008-02-20 Thread Pavel Machek
Hi! > whom should I blame about disk schedulers? > > I have the following setup: > 1Gb network > 2GB RAM > disk write speed about 20MB/s > > If I'm scping file (about 500MB) from the network (which is faster than the > local disk), any process is totally unable to read anything from the local

Re: [PATCH] mmu notifiers #v6

2008-02-20 Thread Robin Holt
On Wed, Feb 20, 2008 at 11:39:42AM +0100, Andrea Arcangeli wrote: > Given Nick's comments I ported my version of the mmu notifiers to > latest mainline. There are no known bugs AFIK and it's obviously safe > (nothing is allowed to schedule inside rcu_read_lock taken by > mmu_notifier() with my

Re: 2.6.25-rc[1,2]: failed to setup dm-crypt key mapping

2008-02-20 Thread Milan Broz
Michael S. Tsirkin wrote: > I am booting a thinkpad T60p off of an encrypted disk (with crypto > modules in initramfs). > This works fine in 2.6.24, but in both 2.6.25-rc1 and 2.6.25-rc2 > won't boot with the following messages on the console > (copied by hand, sorry about typos): >

Re: [Bluez-devel] [BUG] rfcomm

2008-02-20 Thread Stefan Seyfried
Dave Young schrieb: >> Feb 16 23:41:33 alon1 BUG: unable to handle kernel NULL pointer dereference >> at virtual address 0008 >> Feb 16 23:41:33 alon1 printing eip: c01b2db6 *pde = >> Feb 16 23:41:33 alon1 Oops: [#1] PREEMPT >> Feb 16 23:41:33 alon1 Modules linked in:

Re: very poor ext3 write performance on big filesystems?

2008-02-20 Thread Jan Engelhardt
On Feb 18 2008 10:35, Theodore Tso wrote: >On Mon, Feb 18, 2008 at 04:57:25PM +0100, Andi Kleen wrote: >> > Use cp >> > or a tar pipeline to move the files. >> >> Are you sure cp handles hardlinks correctly? I know tar does, >> but I have my doubts about cp. > >I *think* GNU cp does the right

[PATCH] KVM swapping (+ seqlock fix) with mmu notifiers #v6

2008-02-20 Thread Andrea Arcangeli
This is the same as before but against the mmu notifier #v6 patch, running on top of 2.6.25-rc latest, and in this last update I fixed the last race condition with a seqlock. I described the exact fix in a earlier email, in short the seqlock-write is in the invalidate_page/pages, and the reader

Re: [PATCH] Tasklets: Avoid duplicating __tasklet_{,hi_}schedule() code

2008-02-20 Thread Ingo Molnar
* Ahmed S. Darwish <[EMAIL PROTECTED]> wrote: > > > - local_irq_disable(); > > > - t->next = __get_cpu_var(tasklet_vec).list; > > > - __get_cpu_var(tasklet_vec).list = t; > > > - __raise_softirq_irqoff(TASKLET_SOFTIRQ); > > > - local_irq_enable(); > > > +

Re: [PATCH] splice: fix problem with sys_tee and SPLICE_F_NONBLOCK

2008-02-20 Thread Jens Axboe
On Wed, Feb 20 2008, Johann Felix v. Soden-Fr. wrote: > On Wed, Feb 20, 2008 at 10:35:28AM +0100, Jens Axboe wrote: > > On Tue, Feb 19 2008, Johann Felix Soden wrote: > > > > > > Am Dienstag, den 19.02.2008, 22:25 +0100 schrieb Jens Axboe: > > > > On Tue, Feb 19 2008, Johann Felix Soden wrote: >

<    1   2   3   4   5   6   7   8   9   10   >