Re: 2.6.19: ACPI reports AC not present after resume from STD

2007-03-07 Thread Andrey Borzenkov
On Tuesday 06 March 2007, Rafael J. Wysocki wrote: > [changed Cc list] > > On Sunday, 25 February 2007 18:14, Andrey Borzenkov wrote: > > On Воскресенье 25 февраля 2007, Rafael J. Wysocki wrote: > > > On Sunday, 25 February 2007 11:37, Andrey Borzenkov wrote: > > > > On Воскресенье 25 февраля

Re: [PATCH 0/20] x86_64 Relocatable bzImage support (V4)

2007-03-07 Thread Vivek Goyal
On Thu, Mar 08, 2007 at 10:15:02AM +1100, Nigel Cunningham wrote: > Hi. > > On Thu, 2007-03-08 at 07:49 +1100, Nigel Cunningham wrote: > > Hi. > > > > On Wed, 2007-03-07 at 07:07 -0800, Arjan van de Ven wrote: > > > On Wed, 2007-03-07 at 12:27 +0530, Vivek Goyal wrote: > > > > Hi, > > > > > > >

Re: Wanted: simple, safe x86 stack overflow detection

2007-03-07 Thread Avi Kivity
Bill Irwin wrote: On Tue, 2007-03-06 at 22:44 -0800, Bill Irwin wrote: What do you see as the obstacle to eliminating nested IRQ's? On Wed, Mar 07, 2007 at 04:34:52AM -0800, Arjan van de Ven wrote: political will, or maybe just the lack of convincing people so far

[PATCH][SCTP] Re: lockdep: inconsistent lock state ipv6_add_addr/sctp_v6_copy_addrlist (2.6.21-rc1)

2007-03-07 Thread Jarek Poplawski
On 25-02-2007 10:08, Simon Arlott wrote: > This happens on every boot if more information is needed: > > [ 37.393715] = > [ 37.393830] [ INFO: inconsistent lock state ] > [ 37.393881] 2.6.21-rc1-git #146 > [ 37.393929] - > [

[PATCH] fix BUG_ON check at move_freepages() (Re: 2.6.21-rc3-mm2)

2007-03-07 Thread Yasunori Goto
Hello. The BUG_ON() check at move_freepages() is wrong. Its end_page is start_page + MAX_ORDER_NR_PAGES. So, it can be next zone. BUG_ON() should check "end_page - 1". This is fix of 2.6.21-rc3-mm2 for it. Signed-off-by: Yasunori Goto <[EMAIL PROTECTED]> --- mm/page_alloc.c |2 +- 1

Re: [PATCH -mm] Blackfin: blackfin i2c driver

2007-03-07 Thread Jean Delvare
On Tue, 6 Mar 2007 23:45:29 -0800, Andrew Morton wrote: > On Wed, 07 Mar 2007 15:39:27 +0800 "Wu, Bryan" <[EMAIL PROTECTED]> wrote: > > > Thanks a lot, could you please give me a script just to kill this > > whitespace? So I can do it before sending you patches. > > > Is pretty simple: > >

Re: 2.6.21-rc1 and 2.6.21-rc2 kwin dies silently

2007-03-07 Thread Sid Boyce
Andrew Morton wrote: (cc restored. Please always do reply-to-all) On Wed, 28 Feb 2007 18:05:13 +0200 [EMAIL PROTECTED] wrote: On Wednesday 28 February 2007 17:19, Sid Boyce wrote: openSUSE 10.3 Alpha and KDE-3.5.6, xorg-x11-7.2. KDE is setup not to require a password to unlock, but

Re: [patch] epoll use a single inode ...

2007-03-07 Thread Eric Dumazet
Kyle Moffett a écrit : Prefetching is also fairly critical on a Power4 or G5 PowerPC system as they have a long memory latency; an L2-cache miss can cost 200+ cycles. On such systems the "dcbt" prefetch instruction brings in a single 128-byte cacheline and has no serializing effects

Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

2007-03-07 Thread Thomas Gleixner
On Wed, 2007-03-07 at 17:01 -0800, Daniel Arai wrote: > Thomas Gleixner wrote: > > > You managed to avoid the usage of other code (i.e. PIT / HPET) already, > > so why is it sooo desireable to emulate apics instead of substituting it > > by a small and sane replacement ? Just because you happen

Re: 2.6.21-rc2-mm2

2007-03-07 Thread Mike Galbraith
On Wed, 2007-03-07 at 11:52 -0800, Andrew Morton wrote: > On Wed, 7 Mar 2007 16:46:20 -0300 "Luiz Fernando N. Capitulino" <[EMAIL > PROTECTED]> wrote: > > > Em Tue, 6 Mar 2007 00:44:08 -0800 > > Andrew Morton <[EMAIL PROTECTED]> escreveu: > > > > | > > | Temporarily at > > | > > |

Locking function (interrupt handler) in the L1/L2 cache

2007-03-07 Thread Parav K Pandit
Hi, I have MPC8548 Linux based firewall which will mostly do packet processing for 80% time. So obviously most of the time it will RX and TX packets through gianfar Ethernet driver. I want to lock my interrupt handler of this driver in the L1 cache. 1. Are there any kernel APIs to lock any

Re: SATA resume slowness, e1000 MSI warning

2007-03-07 Thread Eric W. Biederman
Andrew Morton <[EMAIL PROTECTED]> writes: > > That's: > > pci_restore_pcix_state(dev); > pci_restore_msi_state(dev); > WARN_ON(!hlist_empty(>saved_cap_space)); > > return 0; Hmm. Either I am confused of I just found an unanticipated leak. pci_restore_msi_state

Linux 2.6.16.43

2007-03-07 Thread Adrian Bunk
New hwmon drivers since 2.6.16.42 for the following hardware: - National Semiconductor pc87427 - SMSC lpc47m192 and lpc47m997 - Winbond w83791d Location: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ git tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git Changes since

Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

2007-03-07 Thread Thomas Gleixner
On Wed, 2007-03-07 at 17:23 -0800, Jeremy Fitzhardinge wrote: > Daniel Arai wrote: > > But more importantly, we want a kernel that can run both on native hardware > > and > > in a paravirtualized environment. Linux doesn't really provide > > abstractions for > > replacing the appropriate

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Eric W. Biederman
Matt Helsley <[EMAIL PROTECTED]> writes: > On Thu, 2007-03-08 at 16:32 +-1300, Sam Vilain wrote: > > +ADw-snip+AD4 > > +AD4 Kirill, 06032418:36+-03: > +AD4 +AD4 I propose to use +ACI-namespace+ACI naming. > +AD4 +AD4 1. This is already used in fs. > +AD4 +AD4 2. This is what IMHO suites at least

[PATCH] chaostables

2007-03-07 Thread Jan Engelhardt
Hello netfilter-devel, I would like to submit chaostables (v0.5_svn23) for inclusion. Primary use is to detect, spoof and slowdown various sorts of port scans. Implementation details can be found at http://jengelh.hopto.org/p/chaostables/ If you have any comments or suggestions, do not

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Eric W. Biederman
Sam Vilain <[EMAIL PROTECTED]> writes: > And do we bother changing IPC namespaces or let that one slide? ipc namespaces works (if you worry about tiny details like we put the resource limits for the sysv ipc objects inside the namespace). Probably the most instructive example of this is that

MMC: Fix typo in mmc highspeed

2007-03-07 Thread Kyungmin Park
MMC: Fix typo in mmc highspeed Signed-off-by: Kyungmin Park <[EMAIL PROTECTED]> -- diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 4a73e8b..3b8f7af 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -1134,7 +1134,7 @@ static void mmc_process_ext_csds(struct mmc_host *host)

Re: [PATCH 1/20] x86_64: Assembly safe page.h and pgtable.h

2007-03-07 Thread Eric W. Biederman
Vivek Goyal <[EMAIL PROTECTED]> writes: > Hi Sam, > > Thanks for the review. This makes sense to me. Move const.h into > asm-generic and let everybody use it. > > This is more of a small cleanup issue and involves changing few header files > in asm-sparc64 and make sure nothing is broken on

IP Defragmentation

2007-03-07 Thread Kanhu Rauta
Hi list, I am using kernel 2.6.20.1. I have written a module,which will register a function at local_in hook, i have found a strange behavior with the packets getting in my callback function i.e [let say i am sending 1500 bytes to this machine from the network] ping -s 1500 1>in case of

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Matt Helsley
On Thu, 2007-03-08 at 16:32 +1300, Sam Vilain wrote: > Kirill, 06032418:36+03: > > I propose to use "namespace" naming. > > 1. This is already used in fs. > > 2. This is what IMHO suites at least OpenVZ/Eric > > 3. it has good acronym "ns". > > Right. So, now I'll also throw into the mix: >

Re: [PATCH] [RSDL-mm 0/6] RSDL cpu scheduler for -mm

2007-03-07 Thread Andrew Morton
> On Thu, 8 Mar 2007 16:25:05 +1100 Con Kolivas <[EMAIL PROTECTED]> wrote: > > It also boots OK on a very similar but somewhat older Nocona machine. > > Perhaps due to config changes: > > http://userweb.kernel.org/~akpm/ck/config-ok.txt > > Ok I just remembered that not only did I expect the

Re: [PATCH 1/20] x86_64: Assembly safe page.h and pgtable.h

2007-03-07 Thread Vivek Goyal
On Wed, Mar 07, 2007 at 08:24:04PM +0100, Sam Ravnborg wrote: > On Wed, Mar 07, 2007 at 12:29:20PM +0530, Vivek Goyal wrote: > > > > > > This patch makes pgtable.h and page.h safe to include > > in assembly files like head.S. Allowing us to use > > symbolic constants instead of hard coded

Re: [patch 8/6] mm: fix cpdfio vs fault race

2007-03-07 Thread Nick Piggin
On Wed, Mar 07, 2007 at 01:02:14PM -0800, Andrew Morton wrote: > On Wed, 7 Mar 2007 12:31:21 +0100 > Nick Piggin <[EMAIL PROTECTED]> wrote: > > > Index: linux-2.6/mm/memory.c > > === > > --- linux-2.6.orig/mm/memory.c > > +++

Re: 2.6.21-rc1 and 2.6.21-rc2 kwin dies silently

2007-03-07 Thread Andrew Morton
(cc restored. Please always do reply-to-all) > On Wed, 28 Feb 2007 18:05:13 +0200 [EMAIL PROTECTED] wrote: > On Wednesday 28 February 2007 17:19, Sid Boyce wrote: > > openSUSE 10.3 Alpha and KDE-3.5.6, xorg-x11-7.2. KDE is setup not to > > require a password to unlock, but it asks for password.

Re: [RFC: -mm patch] #if 0 mmc_deselect_cards()

2007-03-07 Thread Pierre Ossman
Adrian Bunk wrote: > On Tue, Mar 06, 2007 at 12:44:08AM -0800, Andrew Morton wrote: >> ... >> Changes since 2.6.20-rc2-mm1: >> ... >> git-mmc.patch >> ... >> git trees >> ... > > mmc_deselect_cards() is no longer used. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > Indeed, but it's

Re: [PATCH] [RSDL-mm 0/6] RSDL cpu scheduler for -mm

2007-03-07 Thread Con Kolivas
On Thursday 08 March 2007 15:15, Andrew Morton wrote: > On Wed, 7 Mar 2007 18:54:30 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Wed, 7 Mar 2007 17:43:45 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > > > On Wed, 7 Mar 2007 12:26:42 +1100 > > > > > > Con Kolivas <[EMAIL PROTECTED]>

Re: [PATCH 15/20] Move swsusp __pa() dependent code to arch portion

2007-03-07 Thread Vivek Goyal
On Wed, Mar 07, 2007 at 11:47:40PM +0100, Pavel Machek wrote: > Hi! > > > o __pa() should be used only on kernel linearly mapped virtual addresses > > and not on kernel text and data addresses. > > > > o Hibernation code needs to determine the physical address associated > > with kernel

Re: PAGE_SIZE Availability Inconsistency

2007-03-07 Thread David Brown
While I agree, NBPG is a bit of a problem, although it's only needed for aout coredumps AFAICT, but still needed to compile e.g. gdb. Well then how does gdb deal with ia64? because PAGE_SIZE and friends aren't available for that arch same with ppc. Looking at the gdb code they do have places

Re: [PATCH 16/20] swsusp: do not use virt_to_page on kernel data address

2007-03-07 Thread Vivek Goyal
On Wed, Mar 07, 2007 at 11:49:15PM +0100, Pavel Machek wrote: > Hi! > > > o virt_to_page() call should be used on kernel linear addresses and not > > on kernel text and data addresses. Swsusp code uses it on kernel data > > (statically allocated swsusp_header). > > > > o Allocate

Re: Raid 10 Problems?

2007-03-07 Thread Jan Engelhardt
On Mar 7 2007 10:20, dean gaudet wrote: >>> http://gentoo-wiki.com/HOWTO_Install_on_Software_RAID#Write-intent_bitmap >> >> That information has been extremely useful. Thanks a >> lot. I fund a command to do the bitmap internal after >> the array was made so I added that. Seems like some of >>

Re: [PATCH 16/20] swsusp: do not use virt_to_page on kernel data address

2007-03-07 Thread Vivek Goyal
On Wed, Mar 07, 2007 at 11:50:06PM +0100, Pavel Machek wrote: > Hi! > > > o virt_to_page() call should be used on kernel linear addresses and not > > on kernel text and data addresses. Swsusp code uses it on kernel data > > (statically allocated swsusp_header). > > > > o Allocate

Re: [PATCH 0/20] x86_64 Relocatable bzImage support (V4)

2007-03-07 Thread Vivek Goyal
On Thu, Mar 08, 2007 at 10:15:02AM +1100, Nigel Cunningham wrote: > Hi. > > On Thu, 2007-03-08 at 07:49 +1100, Nigel Cunningham wrote: > > Hi. > > > > On Wed, 2007-03-07 at 07:07 -0800, Arjan van de Ven wrote: > > > On Wed, 2007-03-07 at 12:27 +0530, Vivek Goyal wrote: > > > > Hi, > > > > > > >

[git pull] Input fixes for 2.6.21-rc3

2007-03-07 Thread Dmitry Torokhov
Hi Linus, Please consider pulling from:         git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or         master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive fix for AUX IRQ delivery test that causes missing keyboards on some boxes without

Re: [PATCH 11/20] x86_64: wakeup.S misc cleanups

2007-03-07 Thread Vivek Goyal
On Wed, Mar 07, 2007 at 11:41:57PM +0100, Pavel Machek wrote: > Hi! > > > + movw$0x0e00 + 'i', %ds:(0xb8012) > > + movb$0xa8, %al ; outb %al, $0x80; > > + > > > - movw$0x0e00 + 'i', %ds:(0xb8012) > > - movb$0xa8, %al ; outb %al, $0x80; > > Outbs were my

Re: [PATCH 11/20] x86_64: wakeup.S misc cleanups

2007-03-07 Thread Vivek Goyal
On Wed, Mar 07, 2007 at 11:40:53PM +0100, Pavel Machek wrote: > Hi! > > > o Various cleanups. One of the main purpose of cleanups is that make > > wakeup.S as close as possible to trampoline.S. > > > > o Following are the changes > > - Indentations for comments. > > - Changed the gdt

Re: [PATCH] [RSDL-mm 0/6] RSDL cpu scheduler for -mm

2007-03-07 Thread Con Kolivas
On 08/03/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Wed, 7 Mar 2007 17:43:45 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > On Wed, 7 Mar 2007 12:26:42 +1100 > Con Kolivas <[EMAIL PROTECTED]> wrote: > > > What follows is the same patch series that constitutes the RDSL "Rotating > >

Re: [PATCH] tcp_cubic: use 32 bit math

2007-03-07 Thread Willy Tarreau
On Wed, Mar 07, 2007 at 07:10:47PM -0800, Stephen Hemminger wrote: > David Miller wrote: > >From: Stephen Hemminger <[EMAIL PROTECTED]> > >Date: Wed, 7 Mar 2007 17:07:31 -0800 > > > > > >>The basic calculation has to be done in 32 bits to avoid > >>doing 64 bit divide by 3. The value x is only

2.6.21-rc3-mm2

2007-03-07 Thread Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/ - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes were dropped. This is for A/B comparison purposes, and because those changes crashed on one test setup. Changes since

2.6.21-rc3-mm1

2007-03-07 Thread Andrew Morton
Temporarily at http://userweb.kernel.org/~akpm/2.6.21-rc3-mm1/ Will appear later at ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm1/ - The wireless changes in here need a lot of testers, please. It is major rework. Of course the config

Re: [PATCH] [RSDL-mm 0/6] RSDL cpu scheduler for -mm

2007-03-07 Thread Andrew Morton
On Wed, 7 Mar 2007 18:54:30 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > On Wed, 7 Mar 2007 17:43:45 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > > > On Wed, 7 Mar 2007 12:26:42 +1100 > > Con Kolivas <[EMAIL PROTECTED]> wrote: > > > > > What follows is the same patch series that

Re: 2.6.21-rc2 regression vs. 2.6.20: AT keyboard only works with pci=noacpi

2007-03-07 Thread Dmitry Torokhov
On Wednesday 07 March 2007 16:50, Dmitry Torokhov wrote: > On 3/7/07, Ash Milsted <[EMAIL PROTECTED]> wrote: > > > > So, I tracked this down to 2.6.21-git7, the first snapshot that gives me > > this problem. Tellingly it does contain an input tree merge. I would git > > bisect > > but I don't

Re: [patch 2/6 -rt] powerpc 2.6.20-rt8: to convert spinlocks to raw ones.

2007-03-07 Thread hui
On Thu, Mar 08, 2007 at 02:26:47PM +1100, Paul Mackerras wrote: > Bill Huey (hui) writes: > > > The places that need to be reverted to raw spinlocks are generally either > > acquired by function calls that allocate the spinlock at a terminal of the > > kernel's lock graph or isolated from other

Re: [PATCH] tcp_cubic: use 32 bit math

2007-03-07 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Wed, 07 Mar 2007 19:10:47 -0800 > David Miller wrote: > > What about Willy Tarreau's supposedly even faster variant? > > Or does this incorporate that set of improvements? > > > That's what this is: > x = (2 * x + (uint32_t)div64_64(a,

trailing whitespace killing (Re: [PATCH -mm] Blackfin: blackfin i2c driver)

2007-03-07 Thread Oleg Verych
> From: Andrew Morton > Newsgroups: gmane.linux.kernel > Subject: Re: [PATCH -mm] Blackfin: blackfin i2c driver > Date: Tue, 6 Mar 2007 23:45:29 -0800 [] > On Wed, 07 Mar 2007 15:39:27 +0800 "Wu, Bryan" <[EMAIL PROTECTED]> wrote: > >> Thanks a lot, could you please give me a script just to kill

Re: [PATCH 0/20] x86_64 Relocatable bzImage support (V4)

2007-03-07 Thread Vivek Goyal
On Wed, Mar 07, 2007 at 07:07:39AM -0800, Arjan van de Ven wrote: > On Wed, 2007-03-07 at 12:27 +0530, Vivek Goyal wrote: > > Hi, > > > > Here is another attempt on x86_64 relocatable bzImage patches(V4). This > > patchset makes a bzImage relocatable and same kernel binary can be loaded > > and

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Sam Vilain
Paul Menage wrote: > I made sure to check [...]wikipedia.org[...] when this argument started ... > :-) > Wikipedia?! That's not a referen[...] oh bugger it. I've vented enough today and we're on the same page now I think. >> This is the classic terminology problem between substance and

Re: [patch 2/6 -rt] powerpc 2.6.20-rt8: to convert spinlocks to raw ones.

2007-03-07 Thread Paul Mackerras
Bill Huey (hui) writes: > The places that need to be reverted to raw spinlocks are generally either > acquired by function calls that allocate the spinlock at a terminal of the > kernel's lock graph or isolated from other callers completely (parts of the > timer for logic for instance). It's all

Re: [patch] epoll use a single inode ...

2007-03-07 Thread Linus Torvalds
On Wed, 7 Mar 2007, Michael K. Edwards wrote: > > People's prejudices against prefetch instructions are sometimes > traceable to the 3DNow! prefetch(w) botch, which some processors > "support" as no-ops and others are too aggressive about (Opteron > prefetches are reputed to be "strong", i. e.,

Re: [PATCH] tcp_cubic: use 32 bit math

2007-03-07 Thread Stephen Hemminger
David Miller wrote: From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Wed, 7 Mar 2007 17:07:31 -0800 The basic calculation has to be done in 32 bits to avoid doing 64 bit divide by 3. The value x is only 22bits max so only need full 64 bits only for x^2. Signed-off-by: Stephen Hemminger

Re: [PATCH 1/2] rcfs core patch

2007-03-07 Thread Eric W. Biederman
Srivatsa Vaddagiri <[EMAIL PROTECTED]> writes: > Heavily based on Paul Menage's (inturn cpuset) work. The big difference > is that the patch uses task->nsproxy to group tasks for resource control > purpose (instead of task->containers). > > The patch retains the same user interface as Paul

Re: [patch 097/101] revert "drivers/net/tulip/dmfe: support basic carrier detection"

2007-03-07 Thread Linus Torvalds
On Wed, 7 Mar 2007, Dan Williams wrote: > > Definitely right. If it doesn't work for your card, it needs to be > fixed for your card. Well, regressions are regressions. And they are a *lot* more important than any new features. If it doesn't work, it gets reverted. Linus -

[PATCH] Loop device - Tracking page writes made to a loop device through mmap

2007-03-07 Thread Kandan Venkataraman
All comments have been taken care of. Description: A file_operations structure variable called loop_fops is initialised with the default block device file operations (def_blk_fops). The mmap operation is overriden with a new function called loop_file_mmap. A vm_operations structure

Re: SATA resume slowness, e1000 MSI warning

2007-03-07 Thread Andrew Morton
On Wed, 07 Mar 2007 12:28:11 -0700 [EMAIL PROTECTED] (Eric W. Biederman) wrote: > Below is an additional set of warnings that should help debug this. > The old code just got lucky that it triggered a warning when this happens. > > diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c > index

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Paul Menage
On 3/7/07, Sam Vilain <[EMAIL PROTECTED]> wrote: Sorry, I didn't realise I was talking with somebody qualified enough to speak on behalf of the Generally Established Principles of Computer Science. I made sure to check http://en.wikipedia.org/wiki/Namespace

Re: [PATCH] tcp_cubic: use 32 bit math

2007-03-07 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Wed, 7 Mar 2007 17:07:31 -0800 > The basic calculation has to be done in 32 bits to avoid > doing 64 bit divide by 3. The value x is only 22bits max > so only need full 64 bits only for x^2. > > Signed-off-by: Stephen Hemminger <[EMAIL

Re: [PATCH] [RSDL-mm 0/6] RSDL cpu scheduler for -mm

2007-03-07 Thread Andrew Morton
On Wed, 7 Mar 2007 17:43:45 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > On Wed, 7 Mar 2007 12:26:42 +1100 > Con Kolivas <[EMAIL PROTECTED]> wrote: > > > What follows is the same patch series that constitutes the RDSL "Rotating > > Staircase DeadLine" cpu scheduler resynced for

Re: [patch] epoll use a single inode ...

2007-03-07 Thread Kyle Moffett
On Mar 07, 2007, at 20:25:14, Michael K. Edwards wrote: On 3/7/07, Linus Torvalds <[EMAIL PROTECTED]> wrote In general, using software prefetching is just a stupid idea, unless - the prefetch really is very strict (ie for a linked list you do exactly the above kinds of things to make sure

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Sam Vilain
Paul Menage wrote: > Sorry, I think this statement is wrong, by the generally established > meaning of the term namespace in computer science. > Sorry, I didn't realise I was talking with somebody qualified enough to speak on behalf of the Generally Established Principles of Computer Science.

Re: [patch 097/101] revert "drivers/net/tulip/dmfe: support basic carrier detection"

2007-03-07 Thread Dan Williams
On Wed, 2007-03-07 at 10:14 -0800, Stephen Hemminger wrote: > On Wed, 07 Mar 2007 09:12:12 -0800 > Greg KH <[EMAIL PROTECTED]> wrote: > > > > > From: Andrew Morton <[EMAIL PROTECTED]> > > > > Revert 7628b0a8c01a02966d2228bdf741ddedb128e8f8. Thomas Bachler > > reports: > > > > Commit

Re: [patch 0/6 -rt] powerpc 2.6.20-rt8: fix boot/runtime errors/warnings for PowerPC(ppc64)

2007-03-07 Thread Tsutomu OWA
At Wed, 07 Mar 2007 17:26:50 +0300, Sergei Shtylyov wrote: > > Tsutomu OWA wrote: > > CONFIG_MCOUNT, CONFIG_LATENCY_TRACE and other tracing options nor > > CONFIG_GENERIC_TIME, > > There is PowerPC genTOD patch and it's incorporated into -rt (don't know > it works for Cell) but it

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Eric W. Biederman
"Paul Menage" <[EMAIL PROTECTED]> writes: > On 3/7/07, Eric W. Biederman <[EMAIL PROTECTED]> wrote: >> The real trick is that I believe these groupings are designed to be something >> you can setup on login and then not be able to switch out of. > > That's going to to be the case for most

Re: PAGE_SIZE Availability Inconsistency

2007-03-07 Thread Roman Zippel
Hi, On Tuesday 06 March 2007 10:29, Christoph Hellwig wrote: > PAGE_SIZE should not be available at all. Please use getpagesize() > instead. While I agree, NBPG is a bit of a problem, although it's only needed for aout coredumps AFAICT, but still needed to compile e.g. gdb. bye, Roman - To

Re: f_owner.lock and file->pos updates

2007-03-07 Thread Michael K. Edwards
I wrote: I didn't see any clean way to intersperse overwrites and appends to a record-structured file without using vfs_llseek, which steps on f_pos. The context, of course, is an attempt to fix -ENOPATCH with regard to the netlink-based AIO submission scheme I outlined a couple of days ago.

Re: f_owner.lock and file->pos updates

2007-03-07 Thread Michael K. Edwards
On 3/7/07, Alan Cox <[EMAIL PROTECTED]> wrote: The right way IMHO would be to do the work that was done for pread/pwrite and implement preadv/pwritev. The moment you want to do atomic things with the file->f_pos instead of doing it with a local passed pos value it gets ugly.. why do you need to

Re: [PATCH] [RSDL-mm 0/6] RSDL cpu scheduler for -mm

2007-03-07 Thread Andrew Morton
On Wed, 7 Mar 2007 12:26:42 +1100 Con Kolivas <[EMAIL PROTECTED]> wrote: > What follows is the same patch series that constitutes the RDSL "Rotating > Staircase DeadLine" cpu scheduler resynced for 2.6.21-rc2-mm2. Big oops early in boot on x86_64 SMP, in rq_bitmap_error+0x97/0x9f. I stubbed it

Re: [PATCH] Replace misspelled "PRINTK" with "CONFIG_PRINTK".

2007-03-07 Thread Neil Brown
On Wednesday March 7, [EMAIL PROTECTED] wrote: > > Replace the apparently misspelled preprocessor variable "PRINTK" > with "CONFIG_PRINTK". No, it is meant to be "PRINTK". It dates way way back before my time, but presumably the idea was you could -DPRINTK=something and if you didn't do that,

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Paul Menage
On 3/7/07, Eric W. Biederman <[EMAIL PROTECTED]> wrote: Pretty much. For most of the other cases I think we are safe referring to them as resource controls or resource limits.I know that roughly covers what cpusets and beancounters and ckrm currently do. Plus resource monitoring (which

Re: 2.6.21-rc2-mm2 hang

2007-03-07 Thread Siddha, Suresh B
On Wed, Mar 07, 2007 at 02:12:16PM -0800, Dave Hansen wrote: > I'm seeing weird hangs running ltp on 2.6.21-rc2-mm2. It manifests > itself by the waitpid06 test in LTP hanging. This is very, very > reproducible in about 5 seconds by adding '-s wait' to the ltp command > line. > > I see 4

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Eric W. Biederman
"Paul Menage" <[EMAIL PROTECTED]> writes: > On 3/7/07, Sam Vilain <[EMAIL PROTECTED]> wrote: >> But "namespace" has well-established historical semantics too - a way >> of changing the mappings of local * to global objects. This >> accurately describes things liek resource controllers, cpusets,

Re: [patch] epoll use a single inode ...

2007-03-07 Thread Michael K. Edwards
On 3/7/07, Linus Torvalds <[EMAIL PROTECTED]> wrote Yeah, I'm not at all surprised. Any implementation of "prefetch" that doesn't just turn into a no-op if the TLB entry doesn't exist (which makes them weaker for *actual* prefetching) will generally have a hard time with a NULL pointer. Exactly

Re: [BUG] Linux 2.6.20.1 - unable to handle kernel paging request - accessing freed memory?

2007-03-07 Thread Chris Rankin
--- Pekka J Enberg <[EMAIL PROTECTED]> wrote: > It should give us a better clue which sysfs file is causing the oops. This BUG happened during boot-up! The only USB device I have is a pwc webcam: $ /sbin/lsusb Bus 004 Device 001: ID : Bus 003 Device 001: ID : Bus 002 Device 001:

Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

2007-03-07 Thread Jeremy Fitzhardinge
Daniel Arai wrote: > But more importantly, we want a kernel that can run both on native hardware > and > in a paravirtualized environment. Linux doesn't really provide abstractions > for > replacing the appropriate code. We tried to hook into the source code at a > level that seemed

[patch 5/5] signalfd v2 - compat code ...

2007-03-07 Thread Davide Libenzi
This patch implement the necessary compat code for the signalfd system calls. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.20.ep2/fs/compat.c === --- linux-2.6.20.ep2.orig/fs/compat.c 2007-03-07 13:28:39.0

[patch 1/5] signalfd v2 - anonymous inode source ...

2007-03-07 Thread Davide Libenzi
This patch add an anonymous inode source, to be used for files that need and inode only in order to create a file*. We do not care of having an inode for each file, and we do not even care of having different names in the associated dentries (dentry names will be same for classes of file*).

[patch 2/5] signalfd v2 - signalfd core ...

2007-03-07 Thread Davide Libenzi
This patch series implements the new signalfd() and signalfd_dequeue() system calls. I took part of the original Linus code (and you know how badly it can be broken :), and I added even more breakage ;) The patch had to be almost completely changed. This patch allows multiple signalfd to listen

[patch 3/5] signalfd v2 - wire i386 syscall ...

2007-03-07 Thread Davide Libenzi
This patch wire the signalfd system calls to the i386 architecture. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.20.ep2/arch/i386/kernel/syscall_table.S === ---

[patch 4/5] signalfd v2 - wire x86_64 syscall ...

2007-03-07 Thread Davide Libenzi
This patch wire the signalfd system calls to the x86_64 architecture. Signed-off-by: Davide Libenzi - Davide Index: linux-2.6.20.ep2/include/asm-x86_64/unistd.h === --- linux-2.6.20.ep2.orig/include/asm-x86_64/unistd.h

[PATCH] tcp_cubic: use 32 bit math

2007-03-07 Thread Stephen Hemminger
The basic calculation has to be done in 32 bits to avoid doing 64 bit divide by 3. The value x is only 22bits max so only need full 64 bits only for x^2. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- net/ipv4/tcp_cubic.c |8 1 file changed, 4 insertions(+), 4

Re: [PATCH] Fix get_unmapped_area and fsync for hugetlb shm segments

2007-03-07 Thread Eric W. Biederman
Bill Irwin <[EMAIL PROTECTED]> writes: > On Wed, Mar 07, 2007 at 04:03:17PM -0700, Eric W. Biederman wrote: >> I think the right answer is most likely to add an extra file method or >> two so we can remove the need for is_file_hugepages. >> There are still 4 calls to is_file_hugepages in

Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

2007-03-07 Thread Daniel Arai
Thomas Gleixner wrote: You managed to avoid the usage of other code (i.e. PIT / HPET) already, so why is it sooo desireable to emulate apics instead of substituting it by a small and sane replacement ? Just because you happen to have an LAPIC emulator ? That's no reason to wire yourself into

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Paul Menage
On 3/7/07, Sam Vilain <[EMAIL PROTECTED]> wrote: But "namespace" has well-established historical semantics too - a way of changing the mappings of local * to global objects. This accurately describes things liek resource controllers, cpusets, resource monitoring, etc. Sorry, I think this

Re: [patch v2] epoll use a single inode ...

2007-03-07 Thread Sami Farin
On Tue, Mar 06, 2007 at 21:20:33 +0100, Eric Dumazet wrote: ... > I rewrote the reciprocal_div() for i386 so that one multiply is used. > > static inline u32 reciprocal_divide(u32 A, u32 R) > { > #if __i386 > unsigned int edx, eax; > asm("mul %2":"=a" (eax), "=d" (edx):"rm" (R),

the usage of DEBUG_DRIVER seems ambiguous

2007-03-07 Thread Robert P. J. Day
the usage of the DEBUG_DRIVER preprocessor variable is a big confusing: $ $ grep -rw DEBUG_DRIVER * drivers/net/sunlance.c:#undef DEBUG_DRIVER drivers/net/a2065.c:#ifdef DEBUG_DRIVER drivers/net/a2065.c:#ifdef DEBUG_DRIVER drivers/net/7990.c:#ifdef DEBUG_DRIVER drivers/net/7990.c:#ifdef

Re: system call time increase when turning on CONFIG_PARAVIRT

2007-03-07 Thread Tim Chen
On Fri, 2007-03-02 at 16:16 -0800, Jeremy Fitzhardinge wrote: > > Yes, the intent is that running a CONFIG_PARAVIRT kernel on native > hardware will have negligible performance hit compared to running a > non-paravirt kernel. > > J It turned out that VDSO was turned off by CONFIG_PARAVIRT

Re: system call time increase when turning on CONFIG_PARAVIRT

2007-03-07 Thread Jeremy Fitzhardinge
Tim Chen wrote: > It turned out that VDSO was turned off by CONFIG_PARAVIRT option, > causing the system call to use inefficient int 0x80 which led to the > increase system_call time I was seeing. I noted that Ingo has caught > this problem and proposed a patch to correct this issue in another

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Sam Vilain
Paul Menage wrote: > But "namespace" has well-established historical semantics too - a way > of changing the mappings of local names to global objects. This > doesn't describe things liek resource controllers, cpusets, resource > monitoring, etc. > > Trying to extend the well-known term namespace

Re: [PATCH] cifs: remove useless cargo-cult checks

2007-03-07 Thread Steve French
Christoph Hellwig <[EMAIL PROTECTED]> wrote on 03/07/2007 04:17:46 PM: > On Wed, Mar 07, 2007 at 12:51:04PM -0600, Steven French wrote: > > Is there an easy way to mirror particular patches going into the > > cifs-2.6.git tree (which is pulled into mm) to lkml? > > Maybe some git expert can

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Sam Vilain
Srivatsa Vaddagiri wrote: > container structure in your patches provides for these things: > > a. A way to group tasks > b. A way to maintain several hierarchies of such groups > > If you consider just a. then I agree that container abstraction is > redundant, esp for vserver resource control

Re: [patch 2/6 -rt] powerpc 2.6.20-rt8: to convert spinlocks to raw ones.

2007-03-07 Thread hui
On Thu, Mar 08, 2007 at 08:30:43AM +1100, Paul Mackerras wrote: > Sergei Shtylyov writes: > > > I've floowed up to my patch with such explanation. In the context of > > an-rt > > patch itself, it was just too clear, hence I didn't go into explanations in > > the patch itself. :-) > >

Re: [PATCH] swsusp: Disable nonboot CPUs before entering platform suspend

2007-03-07 Thread Rafael J. Wysocki
On Thursday, 8 March 2007 01:20, Dave Jones wrote: > On Thu, Mar 08, 2007 at 12:13:05AM +0100, Rafael J. Wysocki wrote: > > > > > Well, the WARN_ON() in > arch/x86_64/kernel/acpi/sleep.c:init_low_mapping() > > > > triggers every time an SMP x86_64 box is suspended to disk using the > platform

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Paul Menage
On 3/7/07, Sam Vilain <[EMAIL PROTECTED]> wrote: Paul Menage wrote: >> In the namespace world when we say container we mean roughly at the level >> of nsproxy and container_group. >> > So you're saying that a task can only be in a single system-wide container. > Nope, we didn't make the mistake

Re: Sleeping thread not receive signal until it wakes up

2007-03-07 Thread Luong Ngo
On 3/7/07, Lee Revell <[EMAIL PROTECTED]> wrote: On 3/7/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote: > Interruptible_sleep_on is interruptible, but for your task to > actually be awakened and your alarm handler to get some CPU, > it needs to be scheduled. If the BKL (big kernel lock)

Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

2007-03-07 Thread Jeremy Fitzhardinge
Thomas Gleixner wrote: > Sigh. The cut zero hairball is already in mainline. :( > Yes, there were a couple of unfortunate patches in that series, but they got fast-tracked in with the promise they would get fixed asap. > Sure. If the clockevent API is changed, then the users get fixed. This >

Bad regression v 2.6.19 from the ATA ACPI merge

2007-03-07 Thread Alan Cox
Every single non-PCI controller has been broken by this code. pata_get_dev_handle() assumes that the passed ata_port is PCI. The libata-core code does not do any checking. This causes everyone to experience oopses with pata_pcmcia for example. Multiple examples of the bug in our FC7test tree

Re: e1000 oops on boot [Re: 2.6.21-rc2-mm2]

2007-03-07 Thread Kok, Auke
Randy Dunlap wrote: On Wed, 7 Mar 2007 16:23:15 -0800 Andrew Morton wrote: The below will apppear in -rc3-mm1 (hopefully later today) and it will hopefully fix that crash. From: Auke Kok <[EMAIL PROTECTED]> --- drivers/net/e1000/e1000_main.c | 66 +-- 1 files

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Sam Vilain
Paul Menage wrote: >> In the namespace world when we say container we mean roughly at the level >> of nsproxy and container_group. >> > So you're saying that a task can only be in a single system-wide container. > Nope, we didn't make the mistake of nailing down what a "container" was too

Re: e1000 oops on boot [Re: 2.6.21-rc2-mm2]

2007-03-07 Thread Randy Dunlap
On Wed, 7 Mar 2007 16:23:15 -0800 Andrew Morton wrote: > The below will apppear in -rc3-mm1 (hopefully later today) and it will > hopefully fix that crash. > > > From: Auke Kok <[EMAIL PROTECTED]> > > --- > > drivers/net/e1000/e1000_main.c | 66 +-- > 1 files

Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

2007-03-07 Thread Thomas Gleixner
On Wed, 2007-03-07 at 15:33 -0800, Jeremy Fitzhardinge wrote: > > On the other hand we yet see things like: > > > > /* We use normal irq0 handler on cpu0. */ > > time_init_hook(); > > > > Which is just reaching into the kernel code directly and does not handle > > the clock event

Re: [PATCH] Replace misspelled "PRINTK" with "CONFIG_PRINTK".

2007-03-07 Thread Robert P. J. Day
On Wed, 7 Mar 2007, Dave Jones wrote: > On Wed, Mar 07, 2007 at 06:38:32PM -0500, Robert P. J. Day wrote: > > > > Replace the apparently misspelled preprocessor variable "PRINTK" > > with "CONFIG_PRINTK". > > this looks wrong. > > > diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c >

  1   2   3   4   5   6   7   8   9   10   >