Re: [PATCH 5/5] Net: ath5k, kconfig changes

2007-08-31 Thread Nick Kossifidis
2007/8/31, Nick Kossifidis <[EMAIL PROTECTED]>: > 2007/8/30, John W. Linville <[EMAIL PROTECTED]>: > > On Thu, Aug 30, 2007 at 04:38:09AM +0300, Nick Kossifidis wrote: > > > 2007/8/28, Christoph Hellwig <[EMAIL PROTECTED]>: > > > > > > Also this whole patch seems rather pointless. It saves only >

[PATCH -mm] add-a-rounddown_pow_of_two-routine-to-log2h.patch fix

2007-08-31 Thread Mariusz Kozlowski
Hello, This patch fixes the unbalanced parenthesis inroduced by add-a-rounddown_pow_of_two-routine-to-log2h.patch. Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> include/linux/log2.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

Re: [RFC 14/26] SLUB: __GFP_MOVABLE and SLAB_TEMPORARY support

2007-08-31 Thread KAMEZAWA Hiroyuki
On Fri, 31 Aug 2007 18:41:21 -0700 Christoph Lameter <[EMAIL PROTECTED]> wrote: > +#ifndef CONFIG_HIGHMEM > + if (s->kick || s->flags & SLAB_TEMPORARY) > + flags |= __GFP_MOVABLE; > +#endif > + Should I do this as #if !defined(CONFIG_HIGHMEM) && !defined(CONFIG_MEMORY_HOTREMOVE)

2.6.23-rc4-mm1

2007-08-31 Thread Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc4/2.6.23-rc4-mm1/ - git-kbuild is broken and has been dropped - git-ixgb is broken by git-net and has been dropped - git-md-accel is broken by MD fixes and has been dropped - git-v9fs breaks the build on all non-x86 and

BUG POWERPC: snd-powermac hangs since 'Merge 32 and 64 bits asm-powerpc/io.h'

2007-08-31 Thread Dave Vasilevsky
When playing audio with the snd-powermac driver on a PowerMac G4 Quicksilver (Tumbler audio) the sound hangs after a few seconds. - The time before a hang varies from one second to one minute. - Killing the process playing sound and starting again will allow sound to continue (for a few more

socket locking obscure code

2007-08-31 Thread Cyrill Gorcunov
Hi LKML, looking thru lock_sock_nested (while trying to catch BUG in CIFS as reported on bugzilla #8377) I found that lock_sock_nested consist of: void fastcall lock_sock_nested(struct sock *sk, int subclass) { might_sleep(); --->spin_lock_bh(>sk_lock.slock); if

Re: [ANNOUNCE/RFC] Really Fair Scheduler

2007-08-31 Thread Mike Galbraith
On Fri, 2007-08-31 at 15:22 +0200, Roman Zippel wrote: > Were there some kernel messages while running it? Nope. -Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: kernel-doc: fix doc blocks and html

2007-08-31 Thread Randy Dunlap
On Fri, 31 Aug 2007 20:58:45 -0700 Randy Dunlap wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > Cc: [EMAIL PROTECTED] > > Johannes Berg reports (Thanks!) that names are not highlighted in > html output format when they are inside a DOC: block. > > DOC: blocks were not escaped thru

[PATCH/RFC] kernel-doc: fix doc blocks and html

2007-08-31 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Johannes Berg reports (Thanks!) that names are not highlighted in html output format when they are inside a DOC: block. DOC: blocks were not escaped thru xml_escape() like other kernel-doc comments were. Fixed that. However, that

Re: [PATCH] Patch pvr2 driver to allow development of maple bus driver

2007-08-31 Thread Mike Frysinger
On Friday 31 August 2007, Adrian McMenamin wrote: > On 31/08/2007, Mike Frysinger <[EMAIL PROTECTED]> wrote: > > On 8/31/07, Adrian McMenamin <[EMAIL PROTECTED]> wrote: > > > This patch makes the PVR2 VBLANK interrupt on the SEGA Dreamcast > > > shareable - a small but necessary change to enable

Re: [PATCH 3/6] x86: Convert cpu_sibling_map to be a per cpu variable (v2)

2007-08-31 Thread Andrew Morton
On Fri, 24 Aug 2007 15:26:57 -0700 [EMAIL PROTECTED] wrote: > Convert cpu_sibling_map from a static array sized by NR_CPUS to a > per_cpu variable. This saves sizeof(cpumask_t) * NR unused cpus. > Access is mostly from startup and CPU HOTPLUG functions. ia64 allmodconfig: kernel/sched.c: In

[RESEND][PATCH] dir_index: error out instead of BUG on corrupt hash dir limit

2007-08-31 Thread Eric Sandeen
(resend, this one got lost? Got an acked-by from Andreas last go-round) (Andrew, Ted, should I be splitting out ext3 and ext4 patches and sending separately...?) Thanks, -Eric -- A corrupt ondisk hash dir limit will trip an assert in dx_probe, which calls BUG(). Instead, we can just

Re: [RFC 14/26] SLUB: __GFP_MOVABLE and SLAB_TEMPORARY support

2007-08-31 Thread Christoph Lameter
On Sat, 1 Sep 2007, KAMEZAWA Hiroyuki wrote: > On Fri, 31 Aug 2007 18:41:21 -0700 > Christoph Lameter <[EMAIL PROTECTED]> wrote: > > > +#ifndef CONFIG_HIGHMEM > > + if (s->kick || s->flags & SLAB_TEMPORARY) > > + flags |= __GFP_MOVABLE; > > +#endif > > + > > Should I do this as > >

Re: nmi_watchdog=2 regression in 2.6.21

2007-08-31 Thread Daniel Walker
On Sat, 2007-09-01 at 03:00 +0200, Björn Steinbrink wrote: > On 2007.08.31 17:24:46 -0700, Daniel Walker wrote: > > On Fri, 2007-08-31 at 20:06 +0200, Björn Steinbrink wrote: > > > > > > > > something to do with the nmi hertz adjustment that happens after > > > > check_nmi_watchdog() .. > > > >

Re: Copy large memory regions from & to userspace

2007-08-31 Thread Robert Hancock
Clemens Kolbitsch wrote: On Friday 31 August 2007 15:25:40 you wrote: On 8/30/07, Clemens Kolbitsch <[EMAIL PROTECTED]> wrote: Hi! Just a short question: What is the correct method of copying large areas of memory from userspace into userspace when running in kernel-mode? relayfs? no... I'm

[RFC 26/26] SLUB: Add debugging for slab defrag

2007-08-31 Thread Christoph Lameter
Add some debugging printks for slab defragmentation Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- mm/slub.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) Index: linux-2.6/mm/slub.c === ---

Re: maturity and status and attributes, oh my!

2007-08-31 Thread Robert P. J. Day
On Fri, 31 Aug 2007, Mitchell Erblich wrote: > "Robert P. J. Day" wrote: > > > > at the risk of driving everyone here totally bonkers, i'm going to > > take one last shot at explaining what i was thinking of when i first > > proposed this whole "maturity level" thing. and, just so you know, >

[RFC 18/26] FS: ExtX filesystem defrag

2007-08-31 Thread Christoph Lameter
Support defragmentation for extX filesystem inodes Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- fs/ext2/super.c |9 + fs/ext3/super.c |8 fs/ext4/super.c |8 3 files changed, 25 insertions(+) Index: linux-2.6/fs/ext2/super.c

[RFC 19/26] FS: XFS slab defragmentation

2007-08-31 Thread Christoph Lameter
Support inode defragmentation for xfs Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- fs/xfs/linux-2.6/xfs_super.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c index 4528f9a..e60c90e 100644 ---

[RFC 21/26] FS: Slab defrag: Reiserfs support

2007-08-31 Thread Christoph Lameter
Slab defragmentation: Support reiserfs inode defragmentation Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- fs/reiserfs/super.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c index 5b68dd3..0344be9 100644 ---

[RFC 17/26] inodes: Support generic defragmentation

2007-08-31 Thread Christoph Lameter
This implements the ability to remove inodes in a particular slab from inode cache. In order to remove an inode we may have to write out the pages of an inode, the inode itself and remove the dentries referring to the node. Provide generic functionality that can be used by filesystems that have

[RFC 14/26] SLUB: __GFP_MOVABLE and SLAB_TEMPORARY support

2007-08-31 Thread Christoph Lameter
Slabs that are reclaimable fit the definition of the objects in ZONE_MOVABLE. So set __GFP_MOVABLE on them (this only works on platforms where there is no HIGHMEM. Hopefully that restriction will vanish at some point). Also add the SLAB_TEMPORARY flag for slab caches that allocate objects with a

[RFC 24/26] dentries: Add constructor

2007-08-31 Thread Christoph Lameter
In order to support defragmentation on the dentry cache we need to have an determined object state at all times. Without a destructor the object would have a random state after allocation. So provide a constructor. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- fs/dcache.c | 26

[RFC 16/26] Buffer heads: Support slab defrag

2007-08-31 Thread Christoph Lameter
Defragmentation support for buffer heads. We convert the references to buffers to struct page references and try to remove the buffers from those pages. If the pages are dirty then trigger writeout so that the buffer heads can be removed later. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>

[RFC 22/26] FS: Socket inode defragmentation

2007-08-31 Thread Christoph Lameter
Support inode defragmentation for sockets Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- net/socket.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/net/socket.c b/net/socket.c index ec07703..89fc7a5 100644 --- a/net/socket.c +++ b/net/socket.c @@

[RFC 23/26] dentries: Extract common code to remove dentry from lru

2007-08-31 Thread Christoph Lameter
Extract the common code to remove a dentry from the lru into a new function dentry_lru_remove(). Two call sites used list_del() instead of list_del_init(). AFAIK the performance of both is the same. dentry_lru_remove() does a list_del_init(). As a result dentry->d_lru is now always empty when a

[RFC 13/26] SLUB: Add SlabReclaimable() to avoid repeated reclaim attempts

2007-08-31 Thread Christoph Lameter
Add a flag SlabReclaimable() that is set on slabs with a method that allows defrag/reclaim. Clear the flag if a reclaim action is not successful in reducing the number of objects in a slab. The reclaim flag is set again if all objects have been allocated from it. Signed-off-by: Christoph Lameter

[RFC 25/26] dentries: dentry defragmentation

2007-08-31 Thread Christoph Lameter
kick() is called after get() has been used and after the slab has dropped all of its own locks. The dentry pruning for unused entries works in a straightforward way. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- fs/dcache.c | 100

[RFC 12/26] SLUB: Slab reclaim through Lumpy reclaim

2007-08-31 Thread Christoph Lameter
Creates a special function kmem_cache_isolate_slab() and kmem_cache_reclaim() to support lumpy reclaim. In order to isolate pages we will have to handle slab page allocations in such a way that we can determine if a slab is valid whenever we access it regardless of its time in life. A valid slab

[RFC 20/26] FS: Proc filesystem support for slab defrag

2007-08-31 Thread Christoph Lameter
Support procfs inode defragmentation Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- fs/proc/inode.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/fs/proc/inode.c b/fs/proc/inode.c index a5b0dfd..83a66d7 100644 --- a/fs/proc/inode.c +++

[RFC 15/26] bufferhead: Revert constructor removal

2007-08-31 Thread Christoph Lameter
The constructor for buffer_head slabs was removed recently. We need the constructor in order to insure that slab objects always have a definite state even before we allocated them. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- fs/buffer.c | 19 +++ 1 files changed,

[RFC 10/26] SLUB: Trigger defragmentation from memory reclaim

2007-08-31 Thread Christoph Lameter
This patch triggers slab defragmentation from memory reclaim. The logical point for this is after slab shrinking was performed in vmscan.c. At that point the fragmentation ratio of a slab was increased by objects being freed. So we call kmem_cache_defrag from there. slab_shrink() from vmscan.c is

[RFC 11/26] VM: Allow get_page_unless_zero on compound pages

2007-08-31 Thread Christoph Lameter
SLUB uses compound pages for larger slabs. We need to increment the page count of these pages in order to make sure that they are not freed under us for reclaim from within lumpy reclaim. (The patch is also part of the large blocksize patchset) Signed-off-by: Christoph Lameter <[EMAIL

[RFC 09/26] SLUB: Slab defrag core

2007-08-31 Thread Christoph Lameter
Slab defragmentation (aside from Lumpy Reclaim) may occur: 1. Unconditionally when kmem_cache_shrink is called on a slab cache by the kernel calling kmem_cache_shrink. 2. Use of the slabinfo command line to trigger slab shrinking. 3. Per node defrag conditionally when kmem_cache_defrag() is

[RFC 07/26] SLUB: Sort slab cache list and establish maximum objects for defrag slabs

2007-08-31 Thread Christoph Lameter
When we defragmenting slabs then it is advantageous to have all defragmentable slabs together at the beginning of the list so that we do not have to scan the complete list. When adding a slab cache put defragmentale caches first and others last. Determine the maximum number of objects in

[RFC 03/26] SLUB: Rename NUMA defrag_ratio to remote_node_defrag_ratio

2007-08-31 Thread Christoph Lameter
We need the defrag ratio for the non NUMA situation now. The NUMA defrag works by allocating objects from partial slabs on remote nodes. Rename it to remote_node_defrag_ratio to be clear about this. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- include/linux/slub_def.h |

[RFC 08/26] SLUB: Consolidate add_partial and add_partial_tail to one function

2007-08-31 Thread Christoph Lameter
Add a parameter to add_partial instead of having separate functions. That allows the detailed control from multiple places when putting slabs back to the partial list. If we put slabs back to the front then they are likely used immediately for allocations. If they are put at the end then we can

[RFC 01/26] SLUB: Extend slabinfo to support -D and -C options

2007-08-31 Thread Christoph Lameter
-D lists caches that support defragmentation -C lists caches that use a ctor. Change field names for defrag_ratio and remote_node_defrag_ratio. Add determination of the allocation ratio for slab. The allocation ratio is the percentage of available slots for objects in use. Signed-off-by:

[RFC 04/26] SLUB: Add defrag_ratio field and sysfs support.

2007-08-31 Thread Christoph Lameter
The defrag_ratio is used to set the threshold when a slabcache should be defragmented. The allocation ratio is measured in a percentage of the available slots. The percentage will be lower for slabs that are more fragmented. Add a defrag ratio field and set it to 30% by default. A limit of 30%

[RFC 06/26] SLUB: Add get() and kick() methods

2007-08-31 Thread Christoph Lameter
Add the two methods needed for defragmentation and add the display of the methods via the proc interface. Add documentation explaining the use of these methods. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- include/linux/slab.h |3 +++ include/linux/slub_def.h | 32

[RFC 05/26] SLUB: Replace ctor field with ops field in /sys/slab/:0000008 /sys/slab/:0000016 /sys/slab/:0000024 /sys/slab/:0000032 /sys/slab/:0000040 /sys/slab/:0000048 /sys/slab/:0000056 /sys/slab/:0

2007-08-31 Thread Christoph Lameter
Create an ops field in /sys/slab/*/ops to contain all the operations defined on a slab. This will be used to display the additional operations that we will define soon. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- mm/slub.c | 16 +--- 1 files changed, 9 insertions(+), 7

[RFC 00/26] Slab defragmentation V5

2007-08-31 Thread Christoph Lameter
Slab defragmentation is mainly an issue if Linux is used as a fileserver and large amounts of dentries, inodes and buffer heads accumulate. In some load situations the slabs become very sparsely populated so that a lot of memory is wasted by slabs that only contain one or a few objects. In extreme

[RFC 02/26] SLUB: Move count_partial()

2007-08-31 Thread Christoph Lameter
Move the counting function for objects in partial slabs so that it is placed before kmem_cache_shrink. We will need to use it to establish the fragmentation ratio of per node slab lists. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- mm/slub.c | 26 +- 1 files

Re: maturity and status and attributes, oh my!

2007-08-31 Thread Robert P. J. Day
On Sat, 1 Sep 2007, Stefan Richter wrote: > Robert P. J. Day wrote: > ... > > attributes would have two critical and non-negotiable properties: > > > > 1) they would be entirely orthogonal to one another, and > > 2) they can be assigned at most one of a pre-defined set of values > > If they are

Re: [00/36] Large Blocksize Support V6

2007-08-31 Thread Christoph Lameter
Thanks to some help Mingming Cao we now have support for extX with up to 64k blocksize. There were several issues in the jbd layer (The ext2 patch that Christoph complained about was dropped). The patchset can be tested (assuming one has a current git tree) git checkout -b largeblock git

Re: nmi_watchdog=2 regression in 2.6.21

2007-08-31 Thread Björn Steinbrink
On 2007.08.31 17:24:46 -0700, Daniel Walker wrote: > On Fri, 2007-08-31 at 20:06 +0200, Björn Steinbrink wrote: > > > > > something to do with the nmi hertz adjustment that happens after > > > check_nmi_watchdog() .. > > > > Hm hm, does the same thing (watchdog stuck after check) happen with >

Re: [PATCH 5/6] Use one zonelist that is filtered by nodemask

2007-08-31 Thread Christoph Lameter
Acked-by: Christoph Lameter <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 5/6] Use one zonelist that is filtered by nodemask

2007-08-31 Thread Christoph Lameter
Good idea. That gets rid of the GFP_THISNODE stuff that I introduced for the memoryless node patchset. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: nmi_watchdog=2 regression in 2.6.21

2007-08-31 Thread Daniel Walker
On Fri, 2007-08-31 at 20:06 +0200, Björn Steinbrink wrote: > > something to do with the nmi hertz adjustment that happens after > > check_nmi_watchdog() .. > > Hm hm, does the same thing (watchdog stuck after check) happen with > older kernels, ie. those before Stephane's changeset that made it

Re: [PATCH 4/6] Filter based on a nodemask as well as a gfp_mask

2007-08-31 Thread Christoph Lameter
Acked-by: Christoph Lameter <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[RFC 2/2] JBD: blocks reservation fix for large block support

2007-08-31 Thread Mingming Cao
The blocks per page could be less or quals to 1 with the large block support in VM. The patch fixed the way to calculate the number of blocks to reserve in journal in the case blocksize > pagesize. Signed-off-by: Mingming Cao <[EMAIL PROTECTED]> Index: my2.6/fs/jbd/journal.c

[RFC 1/2] JBD: slab management support for large block(>8k)

2007-08-31 Thread Mingming Cao
>From clameter: Teach jbd/jbd2 slab management to support >8k block size. Without this, it refused to mount on >8k ext3. Signed-off-by: Mingming Cao <[EMAIL PROTECTED]> Index: my2.6/fs/jbd/journal.c === ---

Re: v2.6.23-rc4-rt1 / new project URL

2007-08-31 Thread Daniel Walker
On Fri, 2007-08-31 at 22:59 +0200, Thomas Gleixner wrote: > We're pleased to announce the release of the v2.6.23-rc4-rt1 kernel, > which can be downloaded from a new place: > >http://www.kernel.org/pub/linux/kernel/projects/rt/ > > The move to kernel.org is experimental for now, we'll keep

Re: [RFC 1/4] Large Blocksize support for Ext2/3/4

2007-08-31 Thread Mingming Cao
On Wed, 2007-08-29 at 17:47 -0700, Mingming Cao wrote: > Just rebase to 2.6.23-rc4 and against the ext4 patch queue. Compile tested > only. > > Next steps: > Need a e2fsprogs changes to able test this feature. As mkfs needs to be > educated not assuming rec_len to be blocksize all the time. >

Re: [Bugme-new] [Bug 8957] New: Exported functions and variables

2007-08-31 Thread Satyam Sharma
On Fri, 31 Aug 2007, Matti Linnanvuori wrote: > > It seems to me that kernel/module.c allows the whole kernel to use > exported symbols during the execution of the init function if they are > weak: > /* Ok if weak. */ > if

Re: maturity and status and attributes, oh my!

2007-08-31 Thread Mitchell Erblich
"Robert P. J. Day" wrote: > > at the risk of driving everyone here totally bonkers, i'm going to > take one last shot at explaining what i was thinking of when i first > proposed this whole "maturity level" thing. and, just so you know, > the major reason i'm so cranked up about this is that

Re: [2/4] 2.6.23-rc4: known regressions

2007-08-31 Thread Len Brown
> ACPI > > Subject : 2.6.23-rc4: maxcpus still broken > References : http://lkml.org/lkml/2007/8/28/87 > Last known good : ? > Submitter : Alexey Dobriyan <[EMAIL PROTECTED]> > Caused-By : Len Brown <[EMAIL PROTECTED]> > commit

Re: [ANNOUNCE] DeskOpt - on fly task, i/o scheduler optimization

2007-08-31 Thread Michal Piotrowski
On 01/09/2007, Chris Snook <[EMAIL PROTECTED]> wrote: > Michal Piotrowski wrote: > > Hi, > > > > Here is something that might be useful for gamers and audio/video editors > > http://www.stardust.webpages.pl/files/tools/deskopt/ > > > > You can easily tune CFS/CFQ scheduler params > > I would think

Re: sata_via: write errors on PATA drive connected to VT6421

2007-08-31 Thread Alan Cox
On Sat, 1 Sep 2007 00:55:21 +0200 Ondrej Zary <[EMAIL PROTECTED]> wrote: > Hello, > I think that I've found and fixed the problem. There is a copy/paste bug in > vt6421_set_dma_mode() function which causes wrong values to be written to > PATA_UDMA_TIMING register. > > > This patch fixes a

Re: maturity and status and attributes, oh my!

2007-08-31 Thread Dave Jones
On Fri, Aug 31, 2007 at 05:38:34PM -0400, Robert P. J. Day wrote: > it may be that some people had a different understanding of what was > meant by "maturity" than i did. what *i* meant by that attribute is > a feature's current position in the normal software life cycle, and > that would

Re: sata_via: write errors on PATA drive connected to VT6421

2007-08-31 Thread Ondrej Zary
Hello, I think that I've found and fixed the problem. There is a copy/paste bug in vt6421_set_dma_mode() function which causes wrong values to be written to PATA_UDMA_TIMING register. This patch fixes a copy/paste bug that breaks DMA modes on VT6421 PATA port. Signed-off-by: Ondrej Zary

[PATCH 1/7] blk_end_request: add new request completion interface

2007-08-31 Thread Kiyoshi Ueda
This patch adds 2 new interfaces for request completion: o blk_end_request() : called without queue lock o __blk_end_request() : called with queue lock held Some device drivers call some generic functions below between end_that_request_{first/chunk} and end_that_request_last(). o

[APPENDIX PATCH 5/5] blk_end_request: userspace multipath-tools for request-based dm

2007-08-31 Thread Kiyoshi Ueda
This patch changes multipath-tools to use request-based dm-multipath. This patch should be applied on top of 8/28/2007 git multipath-tools. Request-based dm itself is still under development and not ready for inclusion. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi

[APPENDIX PATCH 3/5] blk_end_request: dynamic load balancing for request-based dm-multipath

2007-08-31 Thread Kiyoshi Ueda
This patch adds dynamic load balancer to request-based dm-multipath. Request-based dm itself is still under development and not ready for inclusion. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- drivers/md/Makefile |3

[APPENDIX PATCH 4/5] blk_end_request: userspace device-mapper for request-based dm

2007-08-31 Thread Kiyoshi Ueda
This patch adds a feature of turning request-based dm on to device-mapper userspace tool. To turn on request-based dm, following steps should work: 1. # dmsetup create --rqbase mpath0 2. # echo | dmsetup load mpath0 3. # dmsetup resume mpath0 Note: If you used bio-based targets

[APPENDIX PATCH 2/5] blk_end_request: request-based dm-multipath

2007-08-31 Thread Kiyoshi Ueda
This patch converts dm-multipath target driver to request-based. Request-based dm itself is still under development and not ready for inclusion. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- dm-mpath.c | 227

[APPENDIX PATCH 1/5] blk_end_request: request-based dm core

2007-08-31 Thread Kiyoshi Ueda
This patch is an examle of block device stacking at request level, showing the necessity of blk_end_request() and how the new rq->end_io() hook is used. Request-based dm itself is still under development and not ready for inclusion. This patch adds request-based dm feature to dm core.

[PATCH 7/7] blk_end_request: change rq->end_io to cover request completion as a whole

2007-08-31 Thread Kiyoshi Ueda
This patch moves the rq->end_io() calling point to the top of blk_end_request() from the last of end_that_request_last(). This means that whole request completion can be hooked by rq->end_io() because all device drivers call blk_end_request() to complete request. Because the meaning of

[PATCH 6/7] blk_end_request: remove/unexport end_that_request_*

2007-08-31 Thread Kiyoshi Ueda
This patch removes the following functions: o end_that_request_first() o end_that_request_chunk() and stops exporting the functions below: o end_that_request_last() Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- block/ll_rw_blk.c

[PATCH 5/7] blk_end_request: change ide-cd (cdrom_newpc_intr)

2007-08-31 Thread Kiyoshi Ueda
This patch changes ide-cd (cdrom_newpc_intr) to use blk_end_request(). Due to the addness of the driver, the patch adds a variant of the interface, blk_end_request_callback(). cdrom_newpc_intr() of ide-cd is the only function in the kernel tree which needs to call end_that_request_first() and

[PATCH 4/7] blk_end_request: cciss/cpqarray/xsysace change

2007-08-31 Thread Kiyoshi Ueda
This patch changes "odd" drivers to use blk_end_request(). The drivers are cciss, cpqarray and xsysace. cciss and cpqarray directly call bio_endio() and disk_stat_add() when completing request. But those can be replaced with __end_that_request_first(). After the replacement, request completion

[PATCH 3/7] blk_end_request: changing "normal" drivers

2007-08-31 Thread Kiyoshi Ueda
This patch converts "normal" drivers, which complete request in a standard way shown below, to use blk_end_request(). a) end_that_request_{chunk/first} spin_lock_irqsave() (add_disk_randomness(), blk_queue_end_tag(), blkdev_dequeue_request()) end_that_request_last()

[PATCH 2/7] blk_end_request: add blk_rq_size() macros

2007-08-31 Thread Kiyoshi Ueda
This patch adds macros to get the size of request in bytes. They are useful because blk_end_request() takes bytes as a completed I/O size instead of sectors. Signed-off-by: Kiyoshi Ueda <[EMAIL PROTECTED]> Signed-off-by: Jun'ichi Nomura <[EMAIL PROTECTED]> --- blkdev.h |9 + 1 files

[PATCH 0/7] blk_end_request: full I/O completion handler

2007-08-31 Thread Kiyoshi Ueda
Hello, This set of patches changes request completion interface between device drivers and block layer to 1 step procedure from current 2 step procedures using end_that_request_{first/chunk} and end_that_request_last(). This change allows request-based multipath to hook in before completing each

Re: Heads Up: Next Batch Of Serial/TTY Changes

2007-08-31 Thread Alan Cox
> Who knows what other gremlins like this now live in the tree :-) > > There was a similar spot a few lines down, both fixed > as follows: Thanks I'll take a harder look over those. My test suite didn't check them just the main termios ioctls didn't scribble. > And here is the sparc patch,

Re: maturity and status and attributes, oh my!

2007-08-31 Thread Stefan Richter
Robert P. J. Day wrote: ... > attributes would have two critical and non-negotiable properties: > > 1) they would be entirely orthogonal to one another, and > 2) they can be assigned at most one of a pre-defined set of values If they are fully orthogonal to another, then they are also

[PATCH] pci.h: Add PCI identifiers for mainpine cards

2007-08-31 Thread Alan Cox
> drivers/serial/8250_pci.c:2584: error: 'PCI_VENDOR_ID_MAINPINE' undeclared > here (not in a function) > drivers/serial/8250_pci.c:2584: error: 'PCI_DEVICE_ID_MAINPINE_PBRIDGE' > undeclared here (not in a function) Doh. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file

Re: [ANNOUNCE] DeskOpt - on fly task, i/o scheduler optimization

2007-08-31 Thread Chris Snook
Michal Piotrowski wrote: Hi, Here is something that might be useful for gamers and audio/video editors http://www.stardust.webpages.pl/files/tools/deskopt/ You can easily tune CFS/CFQ scheduler params I would think that gamers and AV editors would want to be using deadline (or maybe even

Re: [PATCH] net/, drivers/net/ , missing EXPERIMENTAL in menus

2007-08-31 Thread Robert P. J. Day
On Fri, 31 Aug 2007, Jeff Garzik wrote: > 'deprecrated' and 'obsolete' are matters of discussed opinion, > describing the utility of the code in question. 'broken' describes > the state of the code itself. > > Clear difference. precisely. thank you for making my point for me. rday --

Re: Heads Up: Next Batch Of Serial/TTY Changes

2007-08-31 Thread David Miller
From: Alan Cox <[EMAIL PROTECTED]> Date: Fri, 31 Aug 2007 23:16:13 +0100 > I don't see a real problem. You aren't using > > c_cflags & CBAUD = 0x1000 > > so that could become BOTHER. > > the input bits also appear to be reserved and free ? Nevermind, I missed how you were doing the

Re: [PATCH] 8250_pci: Autodetect mainpine cards

2007-08-31 Thread Andrew Morton
On Wed, 22 Aug 2007 23:05:27 +0100 Alan Cox <[EMAIL PROTECTED]> wrote: > Add support for a whole range of boards. Some are partly autodetected but > not fully correctly others (PCI Express notably) not at all. Stick all > the right entries in. > > Thanks to Mainpine for information and testing.

Re: Heads Up: Next Batch Of Serial/TTY Changes

2007-08-31 Thread Jeff Garzik
Alan Cox wrote: On Fri, 31 Aug 2007 14:41:15 -0700 (PDT) David Miller <[EMAIL PROTECTED]> wrote: From: Alan Cox <[EMAIL PROTECTED]> Date: Fri, 31 Aug 2007 22:11:05 +0100 Firstly some architecture maintainers still haven't updated their platform for arbitary tty speeds. The kernel is going to

Re: libata not working for sis5533

2007-08-31 Thread Patrizio Bassi
Patrizio Bassi ha scritto: > Michal Piotrowski ha scritto: >> Hi, >> >> [Adding IDE wizards to CC] >> >> On 26/08/07, Patrizio Bassi <[EMAIL PROTECTED]> wrote: >> >>> My sis630 chipset shipped with Asus A1000 >>> doesn't work properly with suspend with ide drivers >>>

Re: Heads Up: Next Batch Of Serial/TTY Changes

2007-08-31 Thread Alan Cox
On Fri, 31 Aug 2007 14:41:15 -0700 (PDT) David Miller <[EMAIL PROTECTED]> wrote: > From: Alan Cox <[EMAIL PROTECTED]> > Date: Fri, 31 Aug 2007 22:11:05 +0100 > > > Firstly some architecture maintainers still haven't updated their > > platform for arbitary tty speeds. The kernel is going to start

Re: maturity and status and attributes, oh my!

2007-08-31 Thread Jeff Garzik
Robert P. J. Day wrote: it may be that some people had a different understanding of what was meant by "maturity" than i did. what *i* meant by that attribute is a feature's current position in the normal software life cycle, and that would be one of: experimental -> normal (stable) ->

Re: [PATCH] net/, drivers/net/ , missing EXPERIMENTAL in menus

2007-08-31 Thread Jeff Garzik
Robert P. J. Day wrote: On Fri, 31 Aug 2007, Jeff Garzik wrote: Robert P. J. Day wrote: i'm sure i'm going to get shouted down here, but i really disagree with "BROKEN" being considered a "maturity level". IMHO, things like EXPERIMENTAL, DEPRECATED and OBSOLETE represent maturity levels,

Re: [-mm PATCH] Memory controller improve user interface (v2)

2007-08-31 Thread Balbir Singh
On 9/1/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > On Fri, 31 Aug 2007 00:22:46 +0530 > Balbir Singh <[EMAIL PROTECTED]> wrote: > > > +/* > > + * Strategy routines for formating read/write data > > + */ > > +int mem_container_read_strategy(unsigned long long val, char *buf) > > +{ > > +

maturity and status and attributes, oh my!

2007-08-31 Thread Robert P. J. Day
at the risk of driving everyone here totally bonkers, i'm going to take one last shot at explaining what i was thinking of when i first proposed this whole "maturity level" thing. and, just so you know, the major reason i'm so cranked up about this is that i'm feeling just a little territorial

Re: Follow up to: NFS/RPC Hangs after updating time...

2007-08-31 Thread J. Bruce Fields
On Fri, Aug 31, 2007 at 02:35:19PM -0400, Morrison, Tom wrote: > This is a follow-up... > > After a huge pain in the rear upgrading from a > 2.6.11++ to a 2.6.23-rc3 (I'll give the powerpc > folks a 'piece' of my mind on that front) - the > NFS hang problem that I was experiencing on the >

Re: [1/1] Block device throttling [Re: Distributed storage.]

2007-08-31 Thread Alasdair G Kergon
On Thu, Aug 30, 2007 at 04:20:35PM -0700, Daniel Phillips wrote: > Resubmitting a bio or submitting a dependent bio from > inside a block driver does not need to be throttled because all > resources required to guarantee completion must have been obtained > _before_ the bio was allowed to

Re: [1/2] 2.6.23-rc3: known regressions with patches

2007-08-31 Thread Len Brown
On Wednesday 29 August 2007 11:28, Michal Piotrowski wrote: > ACPI > > Subject : the fan doesn't work any more > References : http://lkml.org/lkml/2007/8/28/359 > Last known good : ? > Submitter : Daniel Ritz <[EMAIL PROTECTED]> > Caused-By : Alexey Starikovskiy <[EMAIL

Re: Heads Up: Next Batch Of Serial/TTY Changes

2007-08-31 Thread David Miller
From: Alan Cox <[EMAIL PROTECTED]> Date: Fri, 31 Aug 2007 22:11:05 +0100 > Firstly some architecture maintainers still haven't updated their > platform for arbitary tty speeds. The kernel is going to start whining > and issuing warnings on your platform if you don't keep up with the > programme

RE: Nonblocking call may block in a mutex? Nonblocking call after poll may fail?

2007-08-31 Thread David Schwartz
> If this output-buffer has "4-bytes space remaining for process A", > then a non-blocking write of process A could still encounter a locked > mutex, if process B is busy writing to the output-buffer. Of course. > Should process A now block/sleep until that mutex is free and it can > access the

Re: jffs2 deadlock introduced in linux 2.6.22.5

2007-08-31 Thread Jesper Juhl
On 31/08/2007, Jason Lunz <[EMAIL PROTECTED]> wrote: > On Thu, Aug 30, 2007 at 11:23:55AM -0700, Jason Lunz wrote: > > commit 1d8715b388c978b0f1b1bf4812fcee0e73b023d7 was added between > > 2.6.22.4 and 2.6.22.5 to cure a locking problem, but it seems to have > > introduced another (worse?) one. >

Re: [PATCH] net/, drivers/net/ , missing EXPERIMENTAL in menus

2007-08-31 Thread Randy Dunlap
On Fri, 31 Aug 2007 17:00:57 -0400 (EDT) Robert P. J. Day wrote: > On Fri, 31 Aug 2007, Randy Dunlap wrote: > > > What I like about the patch is that it associates some kconfig > > symbol with prompt strings, so that we don't have to edit > > "(EXPERIMENTAL)" all the darn time (e.g.). > > > >

Re: jffs2 deadlock introduced in linux 2.6.22.5

2007-08-31 Thread Jason Lunz
On Thu, Aug 30, 2007 at 11:23:55AM -0700, Jason Lunz wrote: > commit 1d8715b388c978b0f1b1bf4812fcee0e73b023d7 was added between > 2.6.22.4 and 2.6.22.5 to cure a locking problem, but it seems to have > introduced another (worse?) one. I spoke too soon. I checked more carefully, and this problem

[PATCH 5/5] Update Documentation/fb/00-INDEX - add new files, remove entries for deleted ones

2007-08-31 Thread Jesper Juhl
An update to Documentation/fb/00-INDEX is long overdue. This patch adds entries for new files in the directory and removes entries for files that no longer exist. The files are now also sorted alphabetically. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- Documentation/fb/00-INDEX | 46

[PATCH 3/5][resend] Add a 00-INDEX file to Documentation/sysctl/

2007-08-31 Thread Jesper Juhl
Add a 00-INDEX file to Documentation/sysctl/ Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- 00-INDEX | 16 1 file changed, 16 insertions(+) --- /dev/null 2005-11-21 04:22:37.0 +0100 +++ linux-2.6/Documentation/sysctl/00-INDEX 2007-08-11 23:52:50.0

[PATCH 4/5][resend] Add a 00-INDEX file to Documentation/telephony/

2007-08-31 Thread Jesper Juhl
Add a 00-INDEX file to Documentation/telephony/ Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- 00-INDEX |4 1 file changed, 4 insertions(+) --- /dev/null 2005-11-21 04:22:37.0 +0100 +++ linux-2.6/Documentation/telephony/00-INDEX 2007-08-11 23:55:54.0 +0200 @@

[PATCH 1/5] Add a missing 00-INDEX file for Documentation/vm/

2007-08-31 Thread Jesper Juhl
This patch adds a 00-INDEX file to Documentation/vm/ Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- 00-INDEX | 20 1 file changed, 20 insertions(+) --- /dev/null 2005-11-21 04:22:37.0 +0100 +++ Documentation/vm/00-INDEX 2007-08-31 23:16:00.0

  1   2   3   4   5   6   7   >