[04/41] Use page_cache_xxx in mm/page-writeback.c

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx in mm/page-writeback.c Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- mm/page-writeback.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 63512a9..ebe76e3 100644 --- a/mm/page-writeback.c +++

[09/41] Use page_cache_xxx in fs/libfs.c

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx in fs/libfs.c Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/libfs.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/fs/libfs.c b/fs/libfs.c index 53b3dc5..e90f894 100644 --- a/fs/libfs.c +++ b/fs/libfs.c @@ -16,7 +16,8 @@ int

[05/41] Use page_cache_xxx in mm/truncate.c

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx in mm/truncate.c Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- mm/truncate.c | 35 ++- 1 files changed, 18 insertions(+), 17 deletions(-) diff --git a/mm/truncate.c b/mm/truncate.c index bf8068d..8c3d32e 100644 --- a/mm/truncate.c

[07/41] Use page_cache_xxx in mm/filemap_xip.c

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx in mm/filemap_xip.c Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- mm/filemap_xip.c | 28 ++-- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/mm/filemap_xip.c b/mm/filemap_xip.c index ba6892d..5237e53 100644 ---

[03/41] Use page_cache_xxx functions in mm/filemap.c

2007-09-11 Thread Christoph Lameter
Conver the uses of PAGE_CACHE_xxx to use page_cache_xxx instead. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- mm/filemap.c | 56 1 files changed, 28 insertions(+), 28 deletions(-) diff --git a/mm/filemap.c b/mm/filemap.c index

[13/41] Use page_cache_xxx in mm/fadvise.c

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx in mm/fadvise.c Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- mm/fadvise.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/fadvise.c b/mm/fadvise.c index 0df4c89..804c2a9 100644 --- a/mm/fadvise.c +++ b/mm/fadvise.c @@ -79,8 +79,8 @@

[17/41] Use page_cache_xxx in fs/ext4

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx in fs/ext4 Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/ext4/dir.c |3 ++- fs/ext4/inode.c | 31 --- 2 files changed, 18 insertions(+), 16 deletions(-) Index: linux-2.6/fs/ext4/dir.c

[10/41] Use page_cache_xxx in fs/sync

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx in fs/sync. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/sync.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/sync.c b/fs/sync.c index 7cd005e..f30d7eb 100644 --- a/fs/sync.c +++ b/fs/sync.c @@ -260,8 +260,8 @@ int

[12/41] Use page_cache_xxx in mm/mpage.c

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx in mm/mpage.c Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/mpage.c | 28 1 files changed, 16 insertions(+), 12 deletions(-) diff --git a/fs/mpage.c b/fs/mpage.c index a5e1385..2843ed7 100644 --- a/fs/mpage.c +++ b/fs/mpage.c @@

[16/41] Use page_cache_xxx in fs/ext3

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx in fs/ext3 Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/ext3/dir.c |3 ++- fs/ext3/inode.c | 34 +- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/fs/ext3/dir.c b/fs/ext3/dir.c index c00723a..a65b5a7 100644

[02/41] Define functions for page cache handling

2007-09-11 Thread Christoph Lameter
We use the macros PAGE_CACHE_SIZE PAGE_CACHE_SHIFT PAGE_CACHE_MASK and PAGE_CACHE_ALIGN in various places in the kernel. Many times common operations like calculating the offset or the index are coded using shifts and adds. This patch provides inline functions to get the calculations accomplished

[06/41] Use page_cache_xxx in mm/rmap.c

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx in mm/rmap.c Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- mm/rmap.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/mm/rmap.c b/mm/rmap.c index 41ac397..d6a1771 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -188,9 +188,14 @@ static

[08/41] Use page_cache_xxx in mm/migrate.c

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx in mm/migrate.c Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- mm/migrate.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/migrate.c b/mm/migrate.c index 37c73b9..4949927 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -195,7 +195,7 @@

[20/41] Use page_cache_xxx in drivers/block/rd.c

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx in drivers/block/rd.c Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- drivers/block/rd.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/block/rd.c b/drivers/block/rd.c index 65150b5..e148b3b 100644 --- a/drivers/block/rd.c +++

[14/41] Use page_cache_xxx in fs/splice.c

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx in fs/splice.c Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/splice.c | 27 ++- 1 files changed, 14 insertions(+), 13 deletions(-) diff --git a/fs/splice.c b/fs/splice.c index c010a72..7910f32 100644 --- a/fs/splice.c +++ b/fs/splice.c @@

[21/41] compound pages: Better PageHead/PageTail handling

2007-09-11 Thread Christoph Lameter
Looking at the handling of compound pages we see that the fact that a page is part of a higher order page is not that interesting. The differentiation is mainly for head pages and tail pages of higher order pages. Head pages keep the page state and it is usually sufficient to pass a pointer to a

[23/41] compound pages: vmstat support

2007-09-11 Thread Christoph Lameter
Add support for compound pages so that inc__state() and dec_xxx_state() will increment the ZVCs by the number of base pages of the compound page. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- include/linux/vmstat.h |5 ++--- mm/vmstat.c| 18 +- 2

[25/41] compound pages: Allow use of get_page_unless_zero with compound pages

2007-09-11 Thread Christoph Lameter
This is needed by slab defragmentation. The refcount of a page head may be incremented to ensure that a compound page will not go away under us. It also may be needed for defragmentation of higher order pages. The moving of compound pages may require the establishment of a reference before the

[30/41] Add VM_BUG_ONs to check for correct page order

2007-09-11 Thread Christoph Lameter
Before allowing different page orders it may be wise to get some checkpoints in at various places. Checkpoints will help debugging whenever a wrong order page shows up in a mapping. Helps when converting new filesystems to utilize larger pages. Signed-off-by: Christoph Lameter [EMAIL PROTECTED]

[15/41] Use page_cache_xxx in ext2

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx functions in fs/ext2/* Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/ext2/dir.c | 40 +++- 1 files changed, 23 insertions(+), 17 deletions(-) diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c index 2bf49d7..d72926f 100644 ---

[33/41] Large blocksize support in ramfs

2007-09-11 Thread Christoph Lameter
The simplest file system to use for large blocksize support is ramfs. Note that ramfs does not use the lower layers (buffer I/O etc) so this case is useful for initial testing of changes to large buffer size support if one just wants to exercise the higher layers. The patch adds the ability to

[36/41] 64k block size support for Ext2/3/4

2007-09-11 Thread Christoph Lameter
The next 4 patches support large block size (up to PAGESIZE, max 64KB) for ext2/3/4, originally from Takashi Sato. http://marc.info/?l=linux-ext4m=115768873518400w=2 It's quite simple to support large block size in ext2/3/4, mostly just enlarge the block size limit. But it is NOT possible to

[39/41] ext4: fix rec_len overflow for 64KB block size

2007-09-11 Thread Christoph Lameter
[4/4] ext4: fix rec_len overflow - prevent rec_len from overflow with 64KB blocksize Signed-off-by: Takashi Sato [EMAIL PROTECTED] Signed-off-by: Mingming Cao [EMAIL PROTECTED] --- fs/ext4/dir.c | 11 -- fs/ext4/namei.c | 88

[32/41] Readahead changes to support large blocksize.

2007-09-11 Thread Christoph Lameter
Fix up readhead for large I/O operations. Only calculate the readahead until the 2M boundary then fall back to one page. Signed-off-by: Fengguang Wu [EMAIL PROTECTED] Signed-off-by: Christoph Lameter [EMAIL PROTECTED] === ---

[35/41] Reiserfs: Fix up mapping_set_gfp_mask()

2007-09-11 Thread Christoph Lameter
mapping_set_gfp_mask only works on order 0 page cache operations. Reiserfs can use 8k pages (order 1). Replace the mapping_set_gfp_mask with mapping_setup to make this work properly. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/reiserfs/xattr.c |3 ++- 1 files changed, 2

[26/41] compound pages: Allow freeing of compound pages via pagevec

2007-09-11 Thread Christoph Lameter
Allow the freeing of compound pages via pagevec. In release_pages() we currently special case for compound pages in order to be sure to always decrement the page count of the head page and not the tail page. However that redirection to the head page is only necessary for tail pages. So we can

[40/41] Do not use f_mapping in simple_prepare_write()

2007-09-11 Thread Christoph Lameter
Seems that simple_prepare_write() may occasionally be called for a page that does not have a mapping yet. Retrieve the page size from the page instead of the mapping. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/libfs.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[38/41] ext3: fix rec_len overflow with 64KB block size

2007-09-11 Thread Christoph Lameter
[3/4] ext3: fix rec_len overflow - prevent rec_len from overflow with 64KB blocksize Signed-off-by: Takashi Sato [EMAIL PROTECTED] Signed-off-by: Mingming Cao [EMAIL PROTECTED] Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/ext3/dir.c | 13 +--

[24/41] compound pages: Use new compound vmstat functions in SLUB

2007-09-11 Thread Christoph Lameter
Use the new dec/inc functions to simplify SLUB's accounting of pages. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- mm/slub.c | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index 04151da..34655f4 100644 --- a/mm/slub.c +++

[01/41] Pagecache zeroing: zero_user_segment, zero_user_segments and zero_user

2007-09-11 Thread Christoph Lameter
Simplify page cache zeroing of segments of pages through 3 functions zero_user_segments(page, start1, end1, start2, end2) Zeros two segments of the page. It takes the position where to start and end the zeroing which avoids length calculations. zero_user_segment(page, start,

[00/41] Large Blocksize Support V7 (adds memmap support)

2007-09-11 Thread Christoph Lameter
This patchset modifies the Linux kernel so that larger block sizes than page size can be supported. Larger block sizes are handled by using compound pages of an arbitrary order for the page cache instead of single pages with order 0. - Support is added in a way that limits the changes to existing

[19/41] Use page_cache_xxx for fs/xfs

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx for fs/xfs Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/xfs/linux-2.6/xfs_aops.c | 55 ++ fs/xfs/linux-2.6/xfs_lrw.c |6 ++-- 2 files changed, 32 insertions(+), 29 deletions(-) diff --git

[27/41] Large page order operations, zeroing and flushing

2007-09-11 Thread Christoph Lameter
We may have to zero and flush higher order pages. Implement clear_mapping_page and flush_mapping_page to do that job. Replace the flushing and clearing at some key locations for the pagecache. In some places it is necesssary to determine the page order in use from the page struct since no mapping

[37/41] ext2: fix rec_len overflow for 64KB block size

2007-09-11 Thread Christoph Lameter
[2/4] ext2: fix rec_len overflow - prevent rec_len from overflow with 64KB blocksize Signed-off-by: Takashi Sato [EMAIL PROTECTED] Signed-off-by: Mingming Cao [EMAIL PROTECTED] Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/ext2/dir.c | 46

[41/41] Mmap support using pte PAGE_SIZE mappings

2007-09-11 Thread Christoph Lameter
This is realized by mmapping base page size (4k on x86) of the potentially larger page. Mmap semantics are not changed and therefore the large buffers can be handled by userspace as if files consisted of 4k pages (as it is now). The use of large buffersizes can therefore be fully transparent to

[34/41] Large blocksize support for XFS

2007-09-11 Thread Christoph Lameter
The only change needed to enable Large Block I/O in XFS is to remove the check for a too large blocksize ;-) Signed-off-by: Dave Chinner [EMAIL PROTECTED] Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/xfs/xfs_mount.c | 13 - 1 files changed, 0 insertions(+), 13

[31/41] Large Blocksize: Core piece

2007-09-11 Thread Christoph Lameter
Provide an alternate definition for the page_cache_xxx(mapping, ...) functions that can determine the current page size from the mapping and generate the appropriate shifts, sizes and mask for the page cache operations. Add alternate definitions for the page_cache_page_xx(page, ...) function as

[29/41] Fix up reclaim counters

2007-09-11 Thread Christoph Lameter
Compound pages of an arbitrary order may now be on the LRU and may be reclaimed. Adjust the counting in vmscan.c to could the number of base pages. Also change the active and inactive accounting to do the same. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- include/linux/mm_inline.h |

[28/41] Futex: Fix PAGE SIZE assumption

2007-09-11 Thread Christoph Lameter
Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- kernel/futex.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: linux-2.6/kernel/futex.c === --- linux-2.6.orig/kernel/futex.c 2007-09-05

[22/41] compound pages: Add new support functions

2007-09-11 Thread Christoph Lameter
compound_pages(page)- Determines base pages of a compound page compound_shift(page)- Determine the page shift of a compound page compound_size(page) - Determine the size of a compound page Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- include/linux/mm.h | 15

[11/41] Use page_cache_xxx in fs/buffer.c

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx in fs/buffer.c. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/buffer.c | 110 +--- 1 file changed, 62 insertions(+), 48 deletions(-) Index: linux-2.6/fs/buffer.c

[18/41] Use page_cache_xxx in fs/reiserfs

2007-09-11 Thread Christoph Lameter
Use page_cache_xxx in fs/reiserfs Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/reiserfs/file.c| 71 +++-- fs/reiserfs/inode.c | 33 +++--- fs/reiserfs/ioctl.c |2 +- fs/reiserfs/stree.c

Re: [patch 0/5] Add extended crashkernel command line syntax

2007-09-11 Thread Vivek Goyal
On Sun, Sep 09, 2007 at 10:39:14AM +0200, Bernhard Walle wrote: This patch adds a extended crashkernel syntax that makes the value of reserved system RAM dependent on the system RAM itself: crashkernel=range1:size1[,range2:size2,[EMAIL PROTECTED] range=start-[end] For example:

Re: [patch 1/5] Extended crashkernel command line

2007-09-11 Thread Vivek Goyal
On Sun, Sep 09, 2007 at 10:39:15AM +0200, Bernhard Walle wrote: [..] + +/* + * parsing the crashkernel commandline + * + * this code is intended to be called from architecture specific code + */ + + +/* + * This function parses command lines in the format + * + *

Re: [Q]Adding src files to 2.6.18 kernel and build failure query

2007-09-11 Thread Sam Ravnborg
On Tue, Sep 11, 2007 at 11:17:48AM +0530, pradeep singh rautela wrote: On 9/10/07, Sam Ravnborg [EMAIL PROTECTED] wrote: [...] I added some .c files to a new dir under net/foo/ . Added corresponding .h files to a new dir under include/foo/ Create a Kconfig and Makefile in net/foo/

Re: [ANNOUNCE/RFC] Really Fair Scheduler

2007-09-11 Thread Mike Galbraith
On Tue, 2007-09-11 at 01:23 +0200, Roman Zippel wrote: Hi, On Sat, 8 Sep 2007, Mike Galbraith wrote: On Sun, 2 Sep 2007, Ingo Molnar wrote: Below is a patch updated against the latest git tree, no major changes. Interesting, I see major behavioral changes. I still see an

Re: [Q]Adding src files to 2.6.18 kernel and build failure query

2007-09-11 Thread pradeep singh rautela
Hi Sam, found the commit in my fresh 2.6 git repo. Thanks a lot for help. Best Regards --pradeep On 9/11/07, Sam Ravnborg [EMAIL PROTECTED] wrote: On Tue, Sep 11, 2007 at 11:17:48AM +0530, pradeep singh rautela wrote: On 9/10/07, Sam Ravnborg [EMAIL PROTECTED] wrote: [...] I added some

Re: clockevents: fix resume logic

2007-09-11 Thread Thomas Gleixner
On Mon, 2007-09-10 at 14:47 -0700, Andrew Morton wrote: clockevents: fix resume logic We need to make sure, that the clockevent devices are resumed, before the tick is resumed. The current resume logic does not guarantee this. Add CLOCK_EVT_MODE_RESUME and

Re: [PATCH] [-mm] FS: file name must be unique in the same dir in procfs

2007-09-11 Thread Zhang Rui
On Mon, 2007-09-10 at 15:49 +0800, Andrew Morton wrote: On Mon, 20 Aug 2007 23:50:05 +0800 Zhang Rui [EMAIL PROTECTED] wrote: Hi, Oliver, Thanks for your comments, On Mon, 2007-08-20 at 18:45 +0800, Oliver Neukum wrote: Am Montag 20 August 2007 schrieb Zhang Rui: Files name must

Re: Oops in make_class_name in 2.6.22.1 on Fedora

2007-09-11 Thread Greg KH
On Mon, Sep 10, 2007 at 08:26:47PM -0700, Pete Zaitcev wrote: Hi, Greg (and others): I do not seem to be able to find an answer, sorry. Do you happen to remember if this was fixed after 2.6.22.1: localhost kernel: EIP is at make_class_name+0x27/0x7a localhost kernel: [c05586f1]

Re: [PATCH 1/2] Maple Bus support for SEGA Dreamcast

2007-09-11 Thread Greg KH
On Tue, Sep 11, 2007 at 01:27:16PM +0900, Paul Mundt wrote: (Adding GregKH to the CC, he needs to Ack this before I can merge it). I do? Why? Oh, it's a new bus, sure, feel free to CC: me on the next round of patches and I'll review them. thanks, greg k-h - To unsubscribe from this list:

Re: [RFC] disable PCIE 'Enable No Snoop' bit by default

2007-09-11 Thread Greg KH
On Tue, Sep 11, 2007 at 09:29:43AM +0800, Shaohua Li wrote: On Sun, 2007-09-09 at 09:43 -0700, Greg KH wrote: On Thu, Sep 06, 2007 at 05:40:38AM -0700, David Miller wrote: From: Matthew Wilcox [EMAIL PROTECTED] Date: Thu, 6 Sep 2007 05:57:31 -0600 I'm not sure your analysis is

Re: [PATCH 2.6.23-rc4][RESEND] irq: irq and pci_ids patch for Intel Tolapai

2007-09-11 Thread Greg KH
On Mon, Sep 10, 2007 at 12:48:41PM -0700, Andrew Morton wrote: On Mon, 10 Sep 2007 07:09:13 -0700 Greg KH [EMAIL PROTECTED] wrote: On Mon, Sep 10, 2007 at 02:45:25AM -0700, Andrew Morton wrote: On Thu, 30 Aug 2007 17:50:56 -0700 Jason Gaston [EMAIL PROTECTED] wrote: Resend without

Re: Problem charging blackberry 8700c with berry_charge (2.6.22.6)

2007-09-11 Thread Greg KH
On Sun, Sep 09, 2007 at 02:43:56PM -0400, Matt LaPlante wrote: On Sun, 9 Sep 2007 03:52:12 -0700 Greg KH [EMAIL PROTECTED] wrote: On Sat, Sep 08, 2007 at 10:02:29PM -0400, Matt LaPlante wrote: I'm running the 2.6.22.6 kernel with the berry_charge module loaded. I connect my 8700c via

Re: [PATCH 1/2] Maple Bus support for SEGA Dreamcast

2007-09-11 Thread Adrian McMenamin
On Tue, 2007-09-11 at 13:27 +0900, Paul Mundt wrote: (Adding GregKH to the CC, he needs to Ack this before I can merge it). diff --git a/drivers/sh/maple/maplebus.c b/drivers/sh/maple/maplebus.c new file mode 100644 index 000..4662463 --- /dev/null +++

[PATCH -mm] hrtimer: Build fix for !KTIME_SCALAR on 32bit.

2007-09-11 Thread Paul Mundt
On BITS_PER_LONG 64 and !CONFIG_KTIME_SCALAR we get this: CC kernel/hrtimer.o kernel/hrtimer.c:303: error: redefinition of '__kstrtab_ktime_add_ns' kernel/hrtimer.c:279: error: previous definition of '__kstrtab_ktime_add_ns' was here kernel/hrtimer.c:303: error: redefinition of

Re: [RFC] disable PCIE 'Enable No Snoop' bit by default

2007-09-11 Thread Shaohua Li
On Mon, 2007-09-10 at 23:15 -0700, Greg KH wrote: On Tue, Sep 11, 2007 at 09:29:43AM +0800, Shaohua Li wrote: On Sun, 2007-09-09 at 09:43 -0700, Greg KH wrote: On Thu, Sep 06, 2007 at 05:40:38AM -0700, David Miller wrote: From: Matthew Wilcox [EMAIL PROTECTED] Date: Thu, 6 Sep 2007

Re: [PATCH 7/13] Drain per-cpu lists when high-order allocations fail

2007-09-11 Thread Nick Piggin
On Monday 10 September 2007 21:22, Mel Gorman wrote: Per-cpu pages can accidentally cause fragmentation because they are free, but pinned pages in an otherwise contiguous block. When this patch is applied, the per-cpu caches are drained after the direct-reclaim is entered if the requested

Re: [RFC] kbuild - introduce vdir to make life easier for x86_64

2007-09-11 Thread Sam Ravnborg
On Tue, Sep 11, 2007 at 12:40:41AM +0200, Andi Kleen wrote: The below are the minimal clean-up - a bit more could be done. Comments? Looks good in principle. My only suggestion would be to name it something differently than vdir. I know that's what GNU make calls it, but it's still

Re: [PATCH 1/2] Maple Bus support for SEGA Dreamcast

2007-09-11 Thread Paul Mundt
On Tue, Sep 11, 2007 at 07:39:26AM +0100, Adrian McMenamin wrote: On Tue, 2007-09-11 at 13:27 +0900, Paul Mundt wrote: I don't believe the 'or any later version' thing was intended by any of the original authors, this should probably be dropped. The original file lacked explicit terms, so

Re: tbench regression - Why process scheduler has impact on tbench and why small per-cpu slab (SLUB) cache creates the scenario?

2007-09-11 Thread Nick Piggin
On Tuesday 11 September 2007 05:07, Christoph Lameter wrote: On Mon, 10 Sep 2007, Nick Piggin wrote: OK, so after isolating the scheduler, then SLUB should be as fast as SLAB at the same allocation size. That's basically what we need to do before we can replace SLAB with it, I think? The

Re: clockevents: fix resume logic

2007-09-11 Thread Andrew Morton
On Tue, 11 Sep 2007 08:37:16 +0200 Thomas Gleixner [EMAIL PROTECTED] wrote: On Mon, 2007-09-10 at 14:47 -0700, Andrew Morton wrote: clockevents: fix resume logic We need to make sure, that the clockevent devices are resumed, before the tick is resumed. The

[PATCH] lguest: Fix guest crash when CONFIG_X86_USE_3DNOW=y

2007-09-11 Thread Rusty Russell
One of the very first things lguest_init() does is a memcpy. On Athlon/Duron/K7 or CyrixIII/VIA-C3 or Geode GX/LX, this tries to use MMX. memcpy - _mmx_memcpy - kernel_fpu_begin - clts - paravirt_ops.clts But we haven't set paravirt_ops.clts yet, so we do the native version and crash. The

Re: [PATCH] Hookup group-scheduler with task container infrastructure

2007-09-11 Thread Cedric Le Goater
Paul Menage wrote: On 9/10/07, Dmitry Adamushko [EMAIL PROTECTED] wrote: On 10/09/2007, Srivatsa Vaddagiri [EMAIL PROTECTED] wrote: On Mon, Sep 10, 2007 at 10:22:59AM -0700, Andrew Morton wrote: objection ;) cpuctlr isn't memorable. Kernel code is write-rarely, read-often. cpu_controller,

Re: clockevents: fix resume logic

2007-09-11 Thread Thomas Gleixner
On Tue, 2007-09-11 at 00:00 -0700, Andrew Morton wrote: This patch broke the jinxed vaio. Which is a bit odd, considering that I must have tested it at the time. But I bisected it right down to this commit, and the below revert patch fixed it up. I just looked up, that you

[PATCH -mm] mm: Fix memory hotplug + sparsemem build.

2007-09-11 Thread Paul Mundt
Building with CONFIG_MEMORY_HOTPLUG_SPARSE enabled results in: CC mm/memory_hotplug.o mm/memory_hotplug.c: In function 'online_pages': mm/memory_hotplug.c:215: error: 'struct zone' has no member named 'node' make[1]: *** [mm/memory_hotplug.o] Error 1 make: *** [mm] Error 2 Fix it up.

Re: clockevents: fix resume logic

2007-09-11 Thread Thomas Gleixner
On Tue, 2007-09-11 at 09:23 +0200, Thomas Gleixner wrote: I went back to the original patch which I sent to Linus and it matches 18de5bc4c1f1f1fa5e14f354a7603bd6e9d4e3b6. So all I can think is that there must have been something else in the tree which I tested which fixed the bug which

Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)

2007-09-11 Thread Nick Piggin
On Mon, Sep 10, 2007 at 12:29:32PM -0700, Christoph Lameter wrote: On Wed, 5 Sep 2007, Nick Piggin wrote: Implementation issues aside, the problem is there and I would like to see it fixed regardless if some/most/or all users in practice don't hit it. I am all for fixing the problem

Re: clockevents: fix resume logic

2007-09-11 Thread Andrew Morton
On Tue, 11 Sep 2007 09:34:31 +0200 Thomas Gleixner [EMAIL PROTECTED] wrote: On Tue, 2007-09-11 at 09:23 +0200, Thomas Gleixner wrote: I went back to the original patch which I sent to Linus and it matches 18de5bc4c1f1f1fa5e14f354a7603bd6e9d4e3b6. So all I can think is that there

Socket owner problem?

2007-09-11 Thread Alvin Valera
I am currently writing a kernel module that will apply some delay to incoming packets. The module is implemented using netfilter hooked into the NF_IP_LOCAL_IN. Once the module receives a packet of interest from the lower layer, it will queue the packet (in it's own queue) and associate a kernel

Fix no_sync_cmos_clock logic inversion in kernel/time/ntp.c

2007-09-11 Thread Tony Breeds
Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- Seems to me that this timer will only get started on platforms that say they don't want it? kernel/time/ntp.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: working/kernel/time/ntp.c

Re: clockevents: fix resume logic

2007-09-11 Thread Thomas Gleixner
On Tue, 2007-09-11 at 09:23 +0200, Thomas Gleixner wrote: I went back to the original patch which I sent to Linus and it matches 18de5bc4c1f1f1fa5e14f354a7603bd6e9d4e3b6. So all I can think is that there must have been something else in the tree which I tested which fixed the bug which

Re: Fix no_sync_cmos_clock logic inversion in kernel/time/ntp.c

2007-09-11 Thread Thomas Gleixner
On Tue, 2007-09-11 at 17:46 +1000, Tony Breeds wrote: Signed-off-by: Tony Breeds [EMAIL PROTECTED] --- Seems to me that this timer will only get started on platforms that say they don't want it? Hell, yes. Good catch ! tglx kernel/time/ntp.c |2 +- 1 file changed, 1

RE: Socket owner problem?

2007-09-11 Thread David Schwartz
The problem happens like this: Once the socket is closed by the user-space application, there are still packets left in the module's queue. Now, the moment the kernel timer expires and the module propagates those packets up into the higher layer, the system hangs. If that were true, anyone

Re: sk98lin for 2.6.23-rc1

2007-09-11 Thread Stephen Hemminger
On Sun, 9 Sep 2007 13:13:26 +0200 Adrian Bunk [EMAIL PROTECTED] wrote: On Sat, Sep 08, 2007 at 10:42:20PM -0400, Kyle Rose wrote: You are a regular reader of linux-kernel, and therefore the sk98lin removal can hardly be a surprise for you. If you prefer whining over helping to

Re: [RESEND][PATCH 0/4] Virtual Machine Time Accounting

2007-09-11 Thread Laurent Vivier
Alistair John Strachan wrote: On Monday 10 September 2007 14:08:45 Laurent Vivier wrote: Avi Kivity wrote: Ingo Molnar wrote: * Laurent Vivier [EMAIL PROTECTED] wrote: Ingo, please, could you have a look to these patches ? The aim of these four patches is to introduce Virtual Machine time

Re: [PATCH] [AGPGART] intel_agp: fix stolen mem range on G33

2007-09-11 Thread Dave Airlie
Subject: [PATCH] [AGPGART] intel_agp: fix stolen mem range on G33 G33 GTT stolen memory is below graphics data stolen memory and be seperate, so don't subtract it in stolen mem counting. Signed-off-by: Zhenyu Wang [EMAIL PROTECTED] Andrew I meant to upstream these for 2.6.23 but travelling

Re: [PATCH] [AGPGART] intel_agp: fix GTT map size on G33

2007-09-11 Thread Dave Airlie
Subject: [PATCH] [AGPGART] intel_agp: fix GTT map size on G33 G33 has 1MB GTT table range. Fix GTT mapping in case like 512MB aperture size. Signed-off-by: Zhenyu Wang [EMAIL PROTECTED] Acked-by: Dave Airlie [EMAIL PROTECTED] Ditto. What happens if this patch isn't in 2.6.23? And is it

Re: [PATCH] ipconfig.c: De-clutter IP configuration report

2007-09-11 Thread James Chapman
Jan Engelhardt wrote: On Sep 10 2007 13:09, Maciej W. Rozycki wrote: The new code builds fine; no semantic changes. Please apply, Maciej patch-mips-2.6.23-rc5-20070904-ipconfig-printk-2 diff -up --recursive --new-file linux-mips-2.6.23-rc5-20070904.macro/net/ipv4/ipconfig.c

Re: Platform device id

2007-09-11 Thread Jean Delvare
Hi Henrique, On 9/10/2007, Henrique de Moraes Holschuh [EMAIL PROTECTED] wrote: On Sat, 08 Sep 2007, Jean Delvare wrote: * Detection could be moved to user-space entirely, then we would only need a way to instantiate these specific devices from user-space. This exists in other areas (scsi,

[PATCH -mm] video: uvesafb: Add X86 dependency.

2007-09-11 Thread Paul Mundt
uvesafb is x86-specific, reflect that in the Kconfig. Signed-off-by: Paul Mundt [EMAIL PROTECTED] -- drivers/video/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.23-rc4-mm1.orig/drivers/video/Kconfig 2007-09-11 15:15:52.0 +0900 +++

Re: [PATCH -mm] mm: Fix memory hotplug + sparsemem build.

2007-09-11 Thread Yasunori Goto
if (onlined_pages) - node_set_state(zone-node, N_HIGH_MEMORY); + node_set_state(zone_to_nid(zone), N_HIGH_MEMORY); setup_per_zone_pages_min(); Thanks Paul-san. I also have another issue around here. (Kswapd doesn't run on memory less node now. It

Re: clockevents: fix resume logic

2007-09-11 Thread Andrew Morton
On Tue, 11 Sep 2007 09:47:20 +0200 Thomas Gleixner [EMAIL PROTECTED] wrote: On Tue, 2007-09-11 at 09:23 +0200, Thomas Gleixner wrote: I went back to the original patch which I sent to Linus and it matches 18de5bc4c1f1f1fa5e14f354a7603bd6e9d4e3b6. So all I can think is that there

Re: [PATCH] [AGPGART] intel_agp: fix stolen mem range on G33

2007-09-11 Thread Andrew Morton
On Tue, 11 Sep 2007 09:08:08 +0100 (IST) Dave Airlie [EMAIL PROTECTED] wrote: Andrew I meant to upstream these for 2.6.23 but travelling is still in progress, so if you could send them to Linus... Acked-by: Dave Airlie [EMAIL PROTECTED] No probs, thanks. - To unsubscribe from this list:

[PATCH -mm] splice: Disable vmsplice on nommu.

2007-09-11 Thread Paul Mundt
The vmsplice rework in -mm breaks nommu: fs/built-in.o: In function `splice_setup_vma': fs/splice.c:1272: undefined reference to `may_expand_vm' fs/splice.c:1272: undefined reference to `protection_map' fs/splice.c:1272: undefined reference to `insert_vm_struct' fs/splice.c:1272: undefined

Re: [PATCH -mm] mm: Fix memory hotplug + sparsemem build.

2007-09-11 Thread Paul Mundt
Hi Goto-san, On Tue, Sep 11, 2007 at 05:18:01PM +0900, Yasunori Goto wrote: if (onlined_pages) - node_set_state(zone-node, N_HIGH_MEMORY); + node_set_state(zone_to_nid(zone), N_HIGH_MEMORY); setup_per_zone_pages_min(); Thanks Paul-san. I also have

Re: 2.6.23-rc4-mm1

2007-09-11 Thread Jens Axboe
On Mon, Sep 10 2007, Torsten Kaiser wrote: On 9/10/07, FUJITA Tomonori [EMAIL PROTECTED] wrote: On Mon, 10 Sep 2007 12:20:38 -0700 Andrew Morton [EMAIL PROTECTED] wrote: On Mon, 10 Sep 2007 20:59:49 +0200 Torsten Kaiser [EMAIL PROTECTED] wrote: The system boots, reads the

[OOPS] 2.6.23-rc5 in tcp/net/nfsd

2007-09-11 Thread Mark Hindley
This oops appeared over night on a box running 2.6.23-rc5 (recent with the tcp_input.c fix). I can't find a similar one reported. Mark BUG: unable to handle kernel NULL pointer dereference at virtual address 007e printing eip: c02625bf *pde = Oops: 0002 [#1] PREEMPT Modules

Re: [PATCH 7/13] Drain per-cpu lists when high-order allocations fail

2007-09-11 Thread Mel Gorman
On Tue, 2007-09-11 at 01:05 +1000, Nick Piggin wrote: On Monday 10 September 2007 21:22, Mel Gorman wrote: Per-cpu pages can accidentally cause fragmentation because they are free, but pinned pages in an otherwise contiguous block. When this patch is applied, the per-cpu caches are drained

Re: clockevents: fix resume logic

2007-09-11 Thread Andrew Morton
On Tue, 11 Sep 2007 01:20:05 -0700 Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 11 Sep 2007 09:47:20 +0200 Thomas Gleixner [EMAIL PROTECTED] wrote: On Tue, 2007-09-11 at 09:23 +0200, Thomas Gleixner wrote: I went back to the original patch which I sent to Linus and it matches

Re: [PATCH try #2] Blackfin on-chip NAND Flash Controller driver

2007-09-11 Thread Artem Bityutskiy
Hi, On Mon, 2007-09-10 at 17:50 +0800, Bryan Wu wrote: Here is the test log, only 2 errors in oobtest. After digging into the mtd-nand driver code, it should be no relation to my bf5xx_nand driver. Maybe somethings wrong in the mtd-nand code. I intend to get some help from you, please see my

Re: [PATCH] crypto: blkcipher_get_spot() handling of buffer at end of page

2007-09-11 Thread Herbert Xu
On Mon, Sep 10, 2007 at 09:46:46PM +0200, Ingo Oeser wrote: What about using max() for this to make your intention obvious? static inline u8 *blkcipher_get_spot(u8 *start, unsigned int len) { u8 *end_page = (u8 *)(((unsigned long)(start + len - 1)) PAGE_MASK); return

Re: Socket owner problem?

2007-09-11 Thread Alvin Valera
Hi David, Thanks for your quick reply. If that were true, anyone who could send those packets to your machine would be able to cause the system to hang too. You're right to say that :) Perhaps you are feeding the packets back in at too high a layer. Not really. In fact, I pass the packet

Re: [PATCH] leds: add #include linux/spinlock_types.h to include/linux/leds.h for rwlock_t

2007-09-11 Thread Yoichi Yuasa
On Mon, 10 Sep 2007 22:04:23 -0700 Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 4 Sep 2007 16:23:45 +0900 Yoichi Yuasa [EMAIL PROTECTED] wrote: This patch has added #include linux/spinlock_types.h to include/linux/leds.h for rwlock_t. Signed-off-by: Yoichi Yuasa [EMAIL

[PATCH -mm] sysctl: Fix syscall disabled build.

2007-09-11 Thread Paul Mundt
deprecated_sysctl_warning() is used for sys_sysctl(), whether CONFIG_SYSCTL_SYSCALL is enabled or not. When it was added, it was added under the CONFIG_SYSCTL section, so it's not defined if we have the support disabled completely. CC kernel/sysctl.o kernel/sysctl.c: In function

Re: clockevents: fix resume logic

2007-09-11 Thread Thomas Gleixner
On Tue, 2007-09-11 at 01:20 -0700, Andrew Morton wrote: On Tue, 11 Sep 2007 09:47:20 +0200 Thomas Gleixner [EMAIL PROTECTED] wrote: On Tue, 2007-09-11 at 09:23 +0200, Thomas Gleixner wrote: I went back to the original patch which I sent to Linus and it matches

Re: [PATCH try #2] Blackfin on-chip NAND Flash Controller driver

2007-09-11 Thread Bryan Wu
On Tue, 2007-09-11 at 11:35 +0300, Artem Bityutskiy wrote: Hi, On Mon, 2007-09-10 at 17:50 +0800, Bryan Wu wrote: Here is the test log, only 2 errors in oobtest. After digging into the mtd-nand driver code, it should be no relation to my bf5xx_nand driver. Maybe somethings wrong in the

Re: [PATCH -mm] mm: Fix memory hotplug + sparsemem build.

2007-09-11 Thread Andy Whitcroft
On Tue, Sep 11, 2007 at 05:18:01PM +0900, Yasunori Goto wrote: if (onlined_pages) - node_set_state(zone-node, N_HIGH_MEMORY); + node_set_state(zone_to_nid(zone), N_HIGH_MEMORY); setup_per_zone_pages_min(); Thanks Paul-san. I also have another issue

Re: clockevents: fix resume logic

2007-09-11 Thread Thomas Gleixner
On Tue, 2007-09-11 at 01:35 -0700, Andrew Morton wrote: On Tue, 11 Sep 2007 01:20:05 -0700 Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 11 Sep 2007 09:47:20 +0200 Thomas Gleixner [EMAIL PROTECTED] wrote: On Tue, 2007-09-11 at 09:23 +0200, Thomas Gleixner wrote: I went back to

Re: Oops in make_class_name in 2.6.22.1 on Fedora

2007-09-11 Thread Cornelia Huck
On Mon, 10 Sep 2007 23:12:26 -0700, Greg KH [EMAIL PROTECTED] wrote: On Mon, Sep 10, 2007 at 08:26:47PM -0700, Pete Zaitcev wrote: Hi, Greg (and others): I do not seem to be able to find an answer, sorry. Do you happen to remember if this was fixed after 2.6.22.1: localhost kernel:

  1   2   3   4   5   6   7   8   9   10   >