Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bootup on powerpc

2008-02-19 Thread KAMEZAWA Hiroyuki
On Sun, 17 Feb 2008 20:29:13 +0100 Jens Axboe <[EMAIL PROTECTED]> wrote: > It's odd stuff. Could you perhaps try and add some printks to > block/cfq-iosched.c:call_for_each_cic(), like dumping the 'nr' return > from radix_tree_gang_lookup() and the pointer value of cics[i] in the > for() loop afte

Re: 2.6.25-rc1-sha1: WARNING: at lib/kref.c:43 kref_get+0x20/0x30()

2008-02-19 Thread Kay Sievers
On Feb 18, 2008 1:59 PM, Andrew Morton <[EMAIL PROTECTED]> wrote: > On Fri, 15 Feb 2008 14:08:53 +0300 Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > > > Booting without SYSFS fills dmesg like this > > Does the system normally boot without sysfs? Surprised. > > > > [ cut here ]--

Re: [RFC][PATCH] the proposal of improve page reclaim by throttle

2008-02-19 Thread Nick Piggin
On Tuesday 19 February 2008 16:44, KOSAKI Motohiro wrote: > background > > current VM implementation doesn't has limit of # of parallel reclaim. > when heavy workload, it bring to 2 bad things > - heavy lock contention > - unnecessary swap out > > abount

[PATCH update] firewire: fw-sbp2: fix NULL pointer deref in scsi_remove_device

2008-02-19 Thread Stefan Richter
Fix a kernel bug when unplugging an SBP-2 device after having its scsi_device already removed via the "delete" sysfs attribute. Signed-off-by: Stefan Richter <[EMAIL PROTECTED]> --- Update: A _put was missing in a failure path. drivers/firewire/fw-sbp2.c |8 1 file changed, 4 inse

Re: [PATCHv3 0/3] x86: boot protocol updates.

2008-02-19 Thread Ian Campbell
On Sun, 2008-02-17 at 15:04 +0100, Thomas Gleixner wrote: > On Wed, 13 Feb 2008, Ian Campbell wrote: > > > Updates since last time: > > - Rebased to latest x86.git#mm (no changes required). > > > > Applied. Thanks, Thank you. Could you take this version of "1/3 x86: use ELF format in compre

Re: 2.6.24-git4+ regression

2008-02-19 Thread Mike Galbraith
Bah, I notice that I poked reply. Doesn't matter, but for interested readers... On Mon, 2008-02-18 at 15:31 +0100, Mike Galbraith wrote: > > > I'll try this patch later (errands). > > > > This is sched-devel with your first patch still applied. Much evilness. > > At first, I had much idle tim

Re: Question about synchronous write on SSD

2008-02-19 Thread Thomas Petazzoni
Hi, Le Tue, 19 Feb 2008 14:48:18 +0900, "Kyungmin Park" <[EMAIL PROTECTED]> a écrit : > + /* Write synchronous */ > + bio->bi_rw |= (1 << BIO_RW_SYNC); Adding BIO_RW_SYNC doesn't make generic_make_request() synchronous as in "generic_make_request() returns only after

[patch] my mmu notifier sample driver

2008-02-19 Thread Nick Piggin
Index: linux-2.6/drivers/char/mmu_notifier_skel.c === --- /dev/null +++ linux-2.6/drivers/char/mmu_notifier_skel.c @@ -0,0 +1,255 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#

Re: [mm] [PATCH 2/4] Add the soft limit interface v2

2008-02-19 Thread Balbir Singh
Li Zefan wrote: > Li Zefan 写道: >> Balbir Singh wrote: >>> A new configuration file called soft_limit_in_bytes is added. The parsing >>> and configuration rules remain the same as for the limit_in_bytes user >>> interface. >>> >>> A global list of all memory cgroups over their soft limit is maintain

Re: [PATCH 1/3] x86, kvm: add ad_mask static inline

2008-02-19 Thread Avi Kivity
Harvey Harrison wrote: Replaces open-coded mask calculation in macros. Please regenerate against kvm.git (patch 2 doesn't apply; see http://kvm.qumranet.com/kvmwiki/Code). Also please copy [EMAIL PROTECTED] on kvm patches. (first patch applied) -- error compiling committee.c: too many a

Re: Solve section mismatch for free_area_init_core.

2008-02-19 Thread Geert Uytterhoeven
On Mon, 18 Feb 2008, Sam Ravnborg wrote: > I have (triggered by Geert) spend some time reviewing this patch > and I see no better way to fix it. > > So it gets my: > > Reviewed-by: Sam Ravnborg <[EMAIL PROTECTED]> Acked-by: Geert Uytterhoeven <[EMAIL PROTECTED]> > Original mail is here: > http:

Re: [mm] [PATCH 2/4] Add the soft limit interface v2

2008-02-19 Thread Balbir Singh
Li Zefan wrote: > Li Zefan 写道: >> Balbir Singh wrote: >>> A new configuration file called soft_limit_in_bytes is added. The parsing >>> and configuration rules remain the same as for the limit_in_bytes user >>> interface. >>> >>> A global list of all memory cgroups over their soft limit is maintain

Re: xfsaild causing 30+ wakeups/s on an idle system since 2.6.25-rcX

2008-02-19 Thread David Chinner
On Mon, Feb 18, 2008 at 03:22:02PM -0800, Linda Walsh wrote: > Not to look excessively dumb, but what's xfsaild? AIL = Active Item List It is a sorted list all the logged metadata objects that have not yet been written back to disk. The xfsaild is responsible for tail pushing the log. i.e. wri

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

2008-02-19 Thread Geert Uytterhoeven
On Tue, 19 Feb 2008, Michael Buesch wrote: > Still I can't see why this structure will cause alignment issues, as the > compiler will pad it up to the right boundary automagically, as you said > above. Why doesn't the ARM compiler do this? The ARM compiler handles it correctly. But the ugly hacks

Re: Linux 2.6.24.1 - kernel does not boot; IRQ trouble?

2008-02-19 Thread Kay Sievers
On Feb 18, 2008 9:06 PM, Stephen Hemminger <[EMAIL PROTECTED]> wrote: > On Mon, 18 Feb 2008 19:42:25 + (GMT) > Chris Rankin <[EMAIL PROTECTED]> wrote: > > > --- Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > > > > sysfs: duplicate filename 'bridge' can not be created > > > > > WARNING: at fs/

[patch] my mmu notifiers

2008-02-19 Thread Nick Piggin
Well I started reviewing the mmu notifier code, but it is kind of hard to know what you're talking about just by reading through code and not trying your suggestions for yourself... So I implemented mmu notifiers slightly differently. Andrea's mmu notifiers are rather similar. However I have tried

Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bootup on powerpc

2008-02-19 Thread Jens Axboe
On Tue, Feb 19 2008, KAMEZAWA Hiroyuki wrote: > On Sun, 17 Feb 2008 20:29:13 +0100 > Jens Axboe <[EMAIL PROTECTED]> wrote: > > > It's odd stuff. Could you perhaps try and add some printks to > > block/cfq-iosched.c:call_for_each_cic(), like dumping the 'nr' return > > from radix_tree_gang_lookup()

Re: tbench regression in 2.6.25-rc1

2008-02-19 Thread Zhang, Yanmin
On Tue, 2008-02-19 at 08:35 +0100, Eric Dumazet wrote: > Zhang, Yanmin a �crit : > > On Mon, 2008-02-18 at 11:11 +0100, Eric Dumazet wrote: > >> On Mon, 18 Feb 2008 16:12:38 +0800 > >> "Zhang, Yanmin" <[EMAIL PROTECTED]> wrote: > >> > >>> On Fri, 2008-02-15 at 15:22 -0800, David Miller wrote: > >>>

RE: [BUG][RFC] [GENERIC IRQ] irq_chip_set_defaults shutdown / disable

2008-02-19 Thread Thomas Gleixner
On Tue, 19 Feb 2008, Hennerich, Michael wrote: > >Can you please confirm, whether my version of the fix works for you as > >well. > > > >Thanks, > > > > tglx > > Thomas, > > Works - no problems. > There was another typo > > >+chip_disable : default_shutdown; > Should be

Re: [LTP] [PATCH 1/8] Scaling msgmni to the amount of lowmem

2008-02-19 Thread Subrata Modak
> Nadia Derbey wrote: > > Andrew Morton wrote: > > > >> On Mon, 11 Feb 2008 15:16:47 +0100 [EMAIL PROTECTED] wrote: > >> > >> > >>> [PATCH 01/08] > >>> > >>> This patch computes msg_ctlmni to make it scale with the amount of > >>> lowmem. > >>> msg_ctlmni is now set to make the message queues occ

Re: [patch 3/6] mmu_notifier: invalidate_page callbacks

2008-02-19 Thread Nick Piggin
On Sunday 17 February 2008 06:22, Christoph Lameter wrote: > On Fri, 15 Feb 2008, Andrew Morton wrote: > > > flush_cache_page(vma, address, pte_pfn(*pte)); > > > entry = ptep_clear_flush(vma, address, pte); > > > + mmu_notifier(invalidate_page, mm, address); > > > > I j

Re: [PATCH 1/3] Fix Unlikely(x) == y

2008-02-19 Thread Andi Kleen
> Sometimes, for performance critical paths, I would like gcc to be dumb and > follow *my* code and not its hard-coded probabilities. If you really want that, simple: just disable optimization @) > Maybe one thing we would need would be the ability to assign probabilities > to each branch based

Re: Unable to continue testing of 2.6.25

2008-02-19 Thread Andi Kleen
On Mon, Feb 18, 2008 at 08:18:41PM +0100, Ingo Molnar wrote: > > * Andi Kleen <[EMAIL PROTECTED]> wrote: > > > > I've yet to see a user who wants WC. Lets face it, WC *sucks*. This > > > is why > > > > Interesting. > > does this refresh your memory: > > http://lkml.org/lkml/2008/1/10/99 I'

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

2008-02-19 Thread Andi Kleen
> My complaint about having to support them within dm when more than one > device is involved is because any efficiencies disappear: you can't send > further I/O to any one device until all the other devices have completed > their barrier (or else later I/O to that device could overtake the > barri

Re: [PATCH 1/3] Fix Unlikely(x) == y

2008-02-19 Thread Nick Piggin
On Tuesday 19 February 2008 20:25, Andi Kleen wrote: > On Tue, Feb 19, 2008 at 01:33:53PM +1100, Nick Piggin wrote: > > I actually once measured context switching performance in the scheduler, > > and removing the unlikely hint for testing RT tasks IIRC gave about 5% > > performance drop. > > OT:

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

2008-02-19 Thread Ingo Molnar
* David P. Reed <[EMAIL PROTECTED]> wrote: > x86: use explicit timing delay for pit accesses in kernel and pcspkr > driver thanks, applied. Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bootup on powerpc

2008-02-19 Thread KAMEZAWA Hiroyuki
On Tue, 19 Feb 2008 09:36:34 +0100 Jens Axboe <[EMAIL PROTECTED]> wrote: > On Tue, Feb 19 2008, KAMEZAWA Hiroyuki wrote: > > On Sun, 17 Feb 2008 20:29:13 +0100 > > Jens Axboe <[EMAIL PROTECTED]> wrote: > > > > > It's odd stuff. Could you perhaps try and add some printks to > > > block/cfq-iosched

Re: very poor ext3 write performance on big filesystems?

2008-02-19 Thread Vladislav Bolkhovitin
Tomasz Chmielewski wrote: I have a 1.2 TB (of which 750 GB is used) filesystem which holds almost 200 millions of files. 1.2 TB doesn't make this filesystem that big, but 200 millions of files is a decent number. Most of the files are hardlinked multiple times, some of them are hardlinked tho

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

2008-02-19 Thread Andi Kleen
On Tue, Feb 19, 2008 at 10:56:22AM +0100, Sam Ravnborg wrote: > > > > > If noone in the isdn community step up and take some responsibility > > > for the current isdn drivers in Linux then we should just delete them. > > > > So you're saying anything that has no active maintainer should > > be i

Re: [PATCH] adt7473: New driver for Analog Devices ADT7473 sensor chip

2008-02-19 Thread Jean Delvare
On Mon, 18 Feb 2008 13:32:34 -0800, Darrick J. Wong wrote: > Ok. I wonder if the nouveau people have any intention to > reverse-engineer the i2c controller? There's probably not much to reverse-engineer, the nvidiafb driver has been supporting the I2C controllers (using software-driven bit-bangin

Re: Question about synchronous write on SSD

2008-02-19 Thread Jens Axboe
On Tue, Feb 19 2008, Kyungmin Park wrote: > > > > > > Agree, however see the following sequence. > > > > > > __generic_make_request call q->make_request_fn(q, bio); > > > It was set by blk_init_queue_node with __make_request. > > > There are two ways in __make_request. > > > Case 1, get_rq > > > Ca

Re: [PATCH] adt7473: New driver for Analog Devices ADT7473 sensor chip

2008-02-19 Thread Jean Delvare
On Sun, 17 Feb 2008 15:02:50 -0500, Mark M. Hoffman wrote: > * Darrick J. Wong <[EMAIL PROTECTED]> [2007-12-19 15:14:38 -0800]: > > +static int adt7473_attach_adapter(struct i2c_adapter *adapter) > > +{ > > + /* > > +* Some NVIDIA cards have an adt7473 attached to the on-board > > +* i2c

Re: [PATCH 1/1] NBD: make nbd default to deadline I/O scheduler

2008-02-19 Thread Andrew Morton
On Tue, 19 Feb 2008 10:24:28 +0100 Jens Axboe <[EMAIL PROTECTED]> wrote: > On Tue, Feb 19 2008, Jens Axboe wrote: > > On Mon, Feb 18 2008, Andrew Morton wrote: > > > > + > > > > if (e && !try_module_get(e->elevator_owner)) > > > > e = NULL; > > > > > > Looks nice and simpl

Re: [PATCH 1/1] NBD: make nbd default to deadline I/O scheduler

2008-02-19 Thread Jens Axboe
On Tue, Feb 19 2008, Andrew Morton wrote: > On Tue, 19 Feb 2008 10:24:28 +0100 Jens Axboe <[EMAIL PROTECTED]> wrote: > > > On Tue, Feb 19 2008, Jens Axboe wrote: > > > On Mon, Feb 18 2008, Andrew Morton wrote: > > > > > + > > > > > if (e && !try_module_get(e->elevator_owner)) > > > > >

[PATCH] x86_64: fix dma_alloc_pages

2008-02-19 Thread Yinghai Lu
one system with two nodes and two ht links on every node. the bios already have _pxm for two links. when no ram installed for node1 will have panic. reason: the device on second chain will get node = 1 from dev_to_node...via pci_acpi_scan_root. but node1 doesn't have ram installed. in dma_alloc_

Re: [PATCH 4/5] x86_64: check msr to get mmconfig for amd family 10h opteron v3

2008-02-19 Thread Ingo Molnar
* Yinghai Lu <[EMAIL PROTECTED]> wrote: > > Index: linux-2.6/arch/x86/pci/mmconfig-shared.c > > === > > --- linux-2.6.orig/arch/x86/pci/mmconfig-shared.c > > +++ linux-2.6/arch/x86/pci/mmconfig-shared.c > > Ingo/Thomas, > > It seem

[GIT pull] genirq fixes for .25

2008-02-19 Thread Thomas Gleixner
Linus, please pull genirq fixes for .25 from: ssh://master.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-genirq.git - fix spurious irq after free_irq() bug - replace open coded jiffies comparison Thanks, tglx --- S.Caglar Onur (1): genirq: spurious.c: use time_* macro

Re: Linux 2.6.25-rc2 regression: LVM cannot find volume group

2008-02-19 Thread Tilman Schmidt
[added CCs from the other thread on this topic] Alasdair G Kergon schrieb: On Sat, Feb 16, 2008 at 11:37:37PM +0100, Jiri Slaby wrote: # CONFIG_SYSFS_DEPRECATED is not set IMHO That should be *set* by default until everyone has had time to update their userspace software to cope with the chan

RE: Question about synchronous write on SSD

2008-02-19 Thread Kyungmin Park
> > > > Agree, however see the following sequence. > > > > __generic_make_request call q->make_request_fn(q, bio); > > It was set by blk_init_queue_node with __make_request. > > There are two ways in __make_request. > > Case 1, get_rq > > Case 2, out or merged (otherwise you mean unplug case) > > >

Re: [PATCH] fs/ext4/mballoc.c: Convert to list_for_each_entry_rcu()

2008-02-19 Thread Aneesh Kumar K.V
On Tue, Feb 19, 2008 at 01:31:18AM +0100, Roel Kluin wrote: > Please verify, this patch was not yet tested > --- > Convert list_for_each_rcu() to list_for_each_entry_rcu() > > Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> NACK. This patch doesn't build. You have extra cur in the conversion. Righ

[BUG][RFC][GENERIC IRQ] linux-2.6.24 (delayed) disable IRQ feature not functional for handle_simple_irq

2008-02-19 Thread Hennerich, Michael
Thomas, I have reasonable doubt that the delayed disable feature on linux-2.6.24 for handle_simple_irq is broken. In 2.6.22 there was something like this: if (unlikely(!action || (desc->status & IRQ_DISABLED))) { if (desc->chip->mask) desc->chip->

Re: Linux 2.6.25-rc2

2008-02-19 Thread Ingo Molnar
* Pekka Enberg <[EMAIL PROTECTED]> wrote: > Mathieu, Christoph is on vacation and I'm not at all that familiar > with this cmpxchg_local() optimization, so if you could take a peek at > this bug report to see if you can spot something obviously wrong with > it, I would much appreciate that. h

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

2008-02-19 Thread Michael Buesch
On Tuesday 19 February 2008 09:37:05 Geert Uytterhoeven wrote: > On Tue, 19 Feb 2008, Michael Buesch wrote: > > Still I can't see why this structure will cause alignment issues, as the > > compiler will pad it up to the right boundary automagically, as you said > > above. Why doesn't the ARM compil

Re: [PATCH 4/5] x86_64: check msr to get mmconfig for amd family 10h opteron v3

2008-02-19 Thread Yinghai Lu
On Feb 19, 2008 2:13 AM, Ingo Molnar <[EMAIL PROTECTED]> wrote: > > * Yinghai Lu <[EMAIL PROTECTED]> wrote: > > > > Index: linux-2.6/arch/x86/pci/mmconfig-shared.c > > > === > > > --- linux-2.6.orig/arch/x86/pci/mmconfig-shared.c > > >

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

2008-02-19 Thread Michael Buesch
On Tuesday 19 February 2008 05:59:21 Gordon Farquharson wrote: > Does this thread [1] provide any clues as to the Right Thing (TM) to do? > > It should be noted that Linus and Andrew signed off on the m68k fix > [2]. I'm CC'ing them and Al Viro on this email to solicit their input. > > Gordon >

cpuset trivial documentation fix s/N_MEMORY/N_HIGH_MEMORY/

2008-02-19 Thread KOSAKI Motohiro
Hi, this is easy documentation fix. current implementation of cpuset track N_HIGH_MEMORY instead N_MEMORY. (N_MEMORY doesn't exist in current implementation) Signed-off-by: KOSAKI Motohiro <[EMAIL PROTECTED]> CC: Paul Jackson <[EMAIL PROTECTED]> CC: Christoph Lameter <[EMAIL PROTECTED]> CC: Pau

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

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

Re: [PATCH, RFC] kthread: (possibly) a missing memory barrier in kthread_stop()

2008-02-19 Thread Dmitry Adamushko
On 19/02/2008, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > [ ... ] > > > > > > From: Dmitry Adamushko <[EMAIL PROTECTED]> > > > Subject: kthread: add a memory barrier to kthread_stop() > > > > > > 'kthread' threads do a check in the following order: > > > - set_current_state(TASK_INTERRUPTIBLE); >

Re: [PATCH 1/3] Fix Unlikely(x) == y

2008-02-19 Thread Andi Kleen
On Tue, Feb 19, 2008 at 01:33:53PM +1100, Nick Piggin wrote: > On Tuesday 19 February 2008 01:39, Andi Kleen wrote: > > Arjan van de Ven <[EMAIL PROTECTED]> writes: > > > you have more faith in the authors knowledge of how his code actually > > > behaves than I think is warranted :) > > > > iirc t

Re: vfat32 Free Cluster Count Update

2008-02-19 Thread OGAWA Hirofumi
Gunter Ohrner <[EMAIL PROTECTED]> writes: > Doesn't the Linux vfat driver update the FAT32's free cluster summary count? > > Zweiblum:~# dosfsck /dev/sda11 > dosfsck 2.11, 12 Mar 2005, FAT32, LFN > /dev/sda11: 2451 files, 28218/1918827 clusters > > Zweiblum:~# mount /dev/sda11 /mnt/win_daten/ > >

Re: [PATCH 1/3] Fix Unlikely(x) == y

2008-02-19 Thread Andi Kleen
On Tue, Feb 19, 2008 at 08:46:46PM +1100, Nick Piggin wrote: > On Tuesday 19 February 2008 20:25, Andi Kleen wrote: > > On Tue, Feb 19, 2008 at 01:33:53PM +1100, Nick Piggin wrote: > > > > I actually once measured context switching performance in the scheduler, > > > and removing the unlikely hi

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

2008-02-19 Thread Sam Ravnborg
On Mon, Feb 18, 2008 at 01:08:33PM +0100, Andi Kleen wrote: > Greg KH <[EMAIL PROTECTED]> writes: > > > > If Jeff does that, I still can't drop those PCI functions from the PCI > > core, which I desperatly want to do as they do not play nice with modern > > systems (meaning hotplug...). > > > > So

Re: [PATCH, RFC] kthread: (possibly) a missing memory barrier in kthread_stop()

2008-02-19 Thread Peter Zijlstra
On Tue, 2008-02-19 at 17:44 +1100, Nick Piggin wrote: > On Tuesday 19 February 2008 10:03, Dmitry Adamushko wrote: > > Hi, > > > > > > [ description ] > > > > Subject: kthread: add a memory barrier to kthread_stop() > > > > 'kthread' threads do a check in the following order: > > - set_current_sta

Re: [patch 2/6] mmu_notifier: Callbacks to invalidate address ranges

2008-02-19 Thread Nick Piggin
On Friday 15 February 2008 17:49, Christoph Lameter wrote: > The invalidation of address ranges in a mm_struct needs to be > performed when pages are removed or permissions etc change. > > If invalidate_range_begin() is called with locks held then we > pass a flag into invalidate_range() to indicat

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

2008-02-19 Thread Sam Ravnborg
On Tue, Feb 19, 2008 at 11:25:06AM +0200, Gregory Nietsky wrote: > ive been hackin away at mISDN for a while and use it with recent kernels > 2.6.2X and have a patch for 2.6.24 (move from semaphore to complition) > the distro we built is heavily reliant on mISDN (voip) i dont use the > isdn ker

Re: [PATCH 1/5] signal(x86_32): Improve the signal stack overflow check

2008-02-19 Thread Ingo Molnar
* Shi Weihua <[EMAIL PROTECTED]> wrote: > We need to check for stack overflow only when the signal is on stack. > So we can improve the patch "http://lkml.org/lkml/2007/11/27/101"; as > following. thanks, applied. Ingo -- To unsubscribe from this list: send the line "unsubscribe linux

Re: [PATCH 3/5] signal(x86_ia32): add a signal stack overflow check

2008-02-19 Thread Ingo Molnar
* Shi Weihua <[EMAIL PROTECTED]> wrote: > The similar check has been added to x86_32(i386) in commit id > 83bd01024b1fdfc41d9b758e5669e80fca72df66. So we add this check to > x86_ia32 and improve it a liitle bit in that we need to check for > stack overflow only when the signal is on stack. th

Re: My system stops during startup with curretn git tree of 2.6.25-rc2

2008-02-19 Thread Jens Axboe
On Tue, Feb 19 2008, David Miller wrote: > From: Jens Axboe <[EMAIL PROTECTED]> > Date: Tue, 19 Feb 2008 11:54:19 +0100 > > > On Mon, Feb 18 2008, David Miller wrote: > > > From: Laszlo Attila Toth <[EMAIL PROTECTED]> > > > Date: Mon, 18 Feb 2008 18:03:47 +0100 > > > > > > > Hello, > > > > > > >

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

2008-02-19 Thread David Chinner
On Tue, Feb 19, 2008 at 02:39:00AM +, Alasdair G Kergon wrote: > > For example, how safe > > xfs is if barriers are not supported or turned off? > > The last time we tried xfs with dm it didn't seem to notice -EOPNOTSUPP > everywhere it should => recovery may find corruption. Bug reports, p

[PATCH 4/8] x86_64: use bus conf in NB conf fun1 to get bus range on node

2008-02-19 Thread Yinghai Lu
So we use the same code with Quad core cpu as old opteron. this patch is usful when acpi=off or _PXM is not there in DSDT Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]> Index: linux-2.6/arch/x86/pci/k8-bus_64.c === --- linux-2.6.ori

[PATCH 0/8] AMD opteron mm config numa etc

2008-02-19 Thread Yinghai Lu
please check some amd opteron related mmconf and numa patches could make up for system that system have acpi problem or still can mmconf and numa when acpi=off YH -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordom

[PATCH 1/8] x86_64: check MSR to get MMCONFIG for AMD Family 10h Opteron v3

2008-02-19 Thread Yinghai Lu
From: Yinghai Lu <[EMAIL PROTECTED]> so even booting kernel with acpi=off or even MCFG is not there, we still can use MMCONFIG. Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]> Cc: Thomas Gleixner <[EMAIL PROTECTED]> Cc: Ingo Molnar <[EMAIL PROTECTED]> Cc: Andi Kleen <[EMAIL PROTECTED]> Cc: Greg KH

[PATCH 2/8] x86_64: check and enable MMCONFIG for AMD Family 10h Opteron v3

2008-02-19 Thread Yinghai Lu
So we can use MMCONF when MMCONF is not set by BIOS using TOP_MEM2 msr to get memory top, and try to scan fam10h mmio routing to make sure the range is not conflicted with some prefetch MMIO that is above 4G. (current only LinuxBIOS assign 64 bit mmio above 4G for some co-processor) Signed-off-b

[PATCH 3/8] x86_64: get mp_bus_to_node as early v4

2008-02-19 Thread Yinghai Lu
current on amd k8 system with multi ht chain, the numa_node of pci devices under /sys/devices/pci:80/* always 0, even that chain is on node 1 or 2 or 3. workaround: pcibus_to_node(bus) is used when we want to get node that pci_device is on. In struct device, we already have numa_node member

[PATCH 5/8] try parent numa_node at first before using default v2

2008-02-19 Thread Yinghai Lu
in the device_add, we try to use use parent numa_node. need to make sure pci root bus's bridge device numa_node is set. then we could use device->numa_node direclty for all device. and don't need to call pcibus_to_node(). Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]> Index: linux-2.6/drivers/pci

[PATCH 6/8] net: use numa_node in net_devcice->dev instead of parent

2008-02-19 Thread Yinghai Lu
Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]> Index: linux-2.6/net/core/skbuff.c === --- linux-2.6.orig/net/core/skbuff.c +++ linux-2.6/net/core/skbuff.c @@ -252,7 +252,7 @@ nodata: struct sk_buff *__netdev_alloc_skb(struct net_devi

[PATCH 7/8] x86_64: get boot_cpu_id as early for k8_scan_nodes

2008-02-19 Thread Yinghai Lu
When acpi=off or there is no SRAT defined, apicid_to_node is got from K8 Northbridge PCI configuration space in k8_scan_nodes() in arch/x86_64/mm/k8toplogy.c. The problem is that it assumes bsp apic id is 0 at that point. For four socket system with Quad core cpus installed, all cpus apic id is of

[PATCH 8/8] x86_64: multi pci root bus with different io resource range

2008-02-19 Thread Yinghai Lu
scan AMD opteron io/mmio routing to make sure every pci root bus get correct resource range. So later pci scan could assign correct resource to device with unassigned resource. this some kind make up for system without _CRS for multi pci root bus. Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]> I

Re: Linux 2.6.25-rc2

2008-02-19 Thread Pekka Enberg
Hi, Pekka Enberg <[EMAIL PROTECTED]> wrote: > > Mathieu, Christoph is on vacation and I'm not at all that familiar > > with this cmpxchg_local() optimization, so if you could take a peek at > > this bug report to see if you can spot something obviously wrong with > > it, I would much appreciate th

Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bootup on powerpc

2008-02-19 Thread Jens Axboe
On Tue, Feb 19 2008, KAMEZAWA Hiroyuki wrote: > On Tue, 19 Feb 2008 09:58:38 +0100 > Jens Axboe <[EMAIL PROTECTED]> wrote: > > > when I inserted printk here > > > == > > > for (i = 0; i < nr; i++) > > > func(ioc, cics[i]); > > > printk("%d %lx\n", nr, index); > > > == > > > index was

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

2008-02-19 Thread Armin Schindler
On Tue, 19 Feb 2008, Andi Kleen wrote: On Tue, Feb 19, 2008 at 10:56:22AM +0100, Sam Ravnborg wrote: If noone in the isdn community step up and take some responsibility for the current isdn drivers in Linux then we should just delete them. So you're saying anything that has no active maintai

Re: My system stops during startup with curretn git tree of 2.6.25-rc2

2008-02-19 Thread David Miller
From: Jens Axboe <[EMAIL PROTECTED]> Date: Tue, 19 Feb 2008 11:54:19 +0100 > On Mon, Feb 18 2008, David Miller wrote: > > From: Laszlo Attila Toth <[EMAIL PROTECTED]> > > Date: Mon, 18 Feb 2008 18:03:47 +0100 > > > > > Hello, > > > > > > Rafael J. Wysocki wrote: > > > > On Monday, 18 of February

Re: Question about synchronous write on SSD

2008-02-19 Thread Jens Axboe
On Tue, Feb 19 2008, Kyungmin Park wrote: > > Le Tue, 19 Feb 2008 14:48:18 +0900, > > "Kyungmin Park" <[EMAIL PROTECTED]> a écrit : > > > > > + /* Write synchronous */ > > > + bio->bi_rw |= (1 << BIO_RW_SYNC); > > > > Adding BIO_RW_SYNC doesn't make generic_make_reques

Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bootup on powerpc

2008-02-19 Thread Jens Axboe
On Tue, Feb 19 2008, KAMEZAWA Hiroyuki wrote: > On Tue, 19 Feb 2008 09:36:34 +0100 > Jens Axboe <[EMAIL PROTECTED]> wrote: > > > On Tue, Feb 19 2008, KAMEZAWA Hiroyuki wrote: > > > On Sun, 17 Feb 2008 20:29:13 +0100 > > > Jens Axboe <[EMAIL PROTECTED]> wrote: > > > > > > > It's odd stuff. Could y

RE: Question about synchronous write on SSD

2008-02-19 Thread Kyungmin Park
> Le Tue, 19 Feb 2008 14:48:18 +0900, > "Kyungmin Park" <[EMAIL PROTECTED]> a écrit : > > > + /* Write synchronous */ > > + bio->bi_rw |= (1 << BIO_RW_SYNC); > > Adding BIO_RW_SYNC doesn't make generic_make_request() synchronous as > in "generic_make_request() returns

Re: [PATCH 2/5] signal(x86_64): add a signal stack overflow check

2008-02-19 Thread Ingo Molnar
* Shi Weihua <[EMAIL PROTECTED]> wrote: > The similar check has been added to x86_32(i386) in commit id > 83bd01024b1fdfc41d9b758e5669e80fca72df66. So we add this check to > x86_64 and improve it a liitle bit in that we need to check for stack > overflow only when the signal is on stack. than

SMP-related kernel memory leak

2008-02-19 Thread Bart Van Assche
Hello, I noticed that the amount of memory used by the Linux kernel steadily increases over time on SMP systems (x86 architecture, 32-bit kernel). This problem disappears when I add maxcpus=1 to the kernel command line. I have observed this behavior both on the 2.6.22.18 and 2.6.24.2 kernels. Did

Re: [BUG][RFC][GENERIC IRQ] linux-2.6.24 (delayed) disable IRQ feature not functional for handle_simple_irq

2008-02-19 Thread Thomas Gleixner
On Tue, 19 Feb 2008, Hennerich, Michael wrote: > Thomas, > > I have reasonable doubt that the delayed disable feature on > linux-2.6.24 for handle_simple_irq is broken. > > In 2.6.22 there was something like this: > > if (unlikely(!action || (desc->status & IRQ_DISABLED))) { >

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

2008-02-19 Thread Sam Ravnborg
> > > If noone in the isdn community step up and take some responsibility > > for the current isdn drivers in Linux then we should just delete them. > > So you're saying anything that has no active maintainer should > be immediately deleted? You do not recognize a provocation when you see it? I

Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bootup on powerpc

2008-02-19 Thread Jens Axboe
On Tue, Feb 19 2008, KAMEZAWA Hiroyuki wrote: > On Tue, 19 Feb 2008 09:36:34 +0100 > Jens Axboe <[EMAIL PROTECTED]> wrote: > > > On Tue, Feb 19 2008, KAMEZAWA Hiroyuki wrote: > > > On Sun, 17 Feb 2008 20:29:13 +0100 > > > Jens Axboe <[EMAIL PROTECTED]> wrote: > > > > > > > It's odd stuff. Could y

Re: [PATCH 1/1] NBD: make nbd default to deadline I/O scheduler

2008-02-19 Thread Jens Axboe
On Mon, Feb 18 2008, Andrew Morton wrote: > On Mon, 18 Feb 2008 19:16:30 +0100 Jens Axboe <[EMAIL PROTECTED]> wrote: > > > On Tue, Feb 12 2008, Andrew Morton wrote: > > > On Sat, 09 Feb 2008 08:30:40 -0500 > > > Paul Clements <[EMAIL PROTECTED]> wrote: > > > > > > > + old_e = disk->

Re: [PATCH 1/1] NBD: make nbd default to deadline I/O scheduler

2008-02-19 Thread Jens Axboe
On Tue, Feb 19 2008, Jens Axboe wrote: > On Mon, Feb 18 2008, Andrew Morton wrote: > > On Mon, 18 Feb 2008 19:16:30 +0100 Jens Axboe <[EMAIL PROTECTED]> wrote: > > > > > On Tue, Feb 12 2008, Andrew Morton wrote: > > > > On Sat, 09 Feb 2008 08:30:40 -0500 > > > > Paul Clements <[EMAIL PROTECTED]> w

Re: [PATCH] x86_64: fix dma_alloc_pages

2008-02-19 Thread Ingo Molnar
* Yinghai Lu <[EMAIL PROTECTED]> wrote: > one system with two nodes and two ht links on every node. the bios > already have _pxm for two links. > > when no ram installed for node1 will have panic. > > reason: the device on second chain will get node = 1 from > dev_to_node...via pci_acpi_scan_

[PATCH] UIO: introduce sysfs_ops for map_attr_ktype

2008-02-19 Thread Brandon Philips
This fixes two bugs with UIO that cropped up recently in -rc1 1) WARNING: at fs/sysfs/file.c:334 sysfs_open_file when trying to open a map addr/size file - complaining about missing sysfs_ops for ktype 2) Permission denied when reading uio/uio0/maps/map0/{addr,size} when files are m

Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bootup on powerpc

2008-02-19 Thread KAMEZAWA Hiroyuki
On Tue, 19 Feb 2008 09:36:34 +0100 Jens Axboe <[EMAIL PROTECTED]> wrote: > On Tue, Feb 19 2008, KAMEZAWA Hiroyuki wrote: > > On Sun, 17 Feb 2008 20:29:13 +0100 > > Jens Axboe <[EMAIL PROTECTED]> wrote: > > > > > It's odd stuff. Could you perhaps try and add some printks to > > > block/cfq-iosched

Re: more iommu sg merging fallout

2008-02-19 Thread FUJITA Tomonori
On Sun, 17 Feb 2008 23:41:42 -0800 (PST) David Miller <[EMAIL PROTECTED]> wrote: > From: FUJITA Tomonori <[EMAIL PROTECTED]> > Date: Sat, 16 Feb 2008 15:03:43 +0900 > > > [PATCH] sparc64: make IOMMU code respect the segment boundary limits > > > > Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED

Re: 2.6.25-rc2 hangs after "Suspending console(s)"

2008-02-19 Thread Tino Keitel
On Mon, Feb 18, 2008 at 20:49:04 +0100, Pavel Machek wrote: > On Mon 2008-02-18 01:28:15, Tino Keitel wrote: > > Hi folks, > > > > with 2.6.25-rc2, my Mac mini Core Duo hangs at suspend. The last > > message on the console is "Suspending console(s)". I also tried some > > other versions after 2.6.

Re: [PATCH 1/1] cciss: procfs updates to display info about many volumes

2008-02-19 Thread Jens Axboe
On Mon, Feb 11 2008, Mike Miller wrote: > Patch 1 of 1 > > This patch allows us to display information about all of the logical volumes > configured on a particular without stepping on memory even when there are > many volumes (128 or more) configured. This patch replaces the one submitted > on 20

Re: 2.6.25-rc2 regression in rt61pci wireless driver

2008-02-19 Thread Ivo van Doorn
Hi, > > I have a series of tests I would like to request from you, > > you mentioned you already enabled debugfs, and that is just what we need. ;) > > Please use attached script to create dumps of the hardware register > > contents. > > > > There are specific moments that should be dumped: > >

RE: [BUG][RFC] [GENERIC IRQ] irq_chip_set_defaults shutdown / disable

2008-02-19 Thread Hennerich, Michael
>From: Thomas Gleixner Montag, 18. Februar 2008 21:38 > >On Mon, 18 Feb 2008, Hennerich, Michael wrote: >> >The patch below fixes the shutdown case and keeps the delayed disable >> >logic intact. >> >> >How did you notice ? I guess you got spurious interrupts after calling >> >free_irq(), right ? >

[PATCH 1/2] Split list.h and move rcu-protected lists into rculist.h

2008-02-19 Thread Franck Bui-Huu
From: Franck Bui-Huu <[EMAIL PROTECTED]> This patch moves rcu-protected lists from list.h into a new header file rculist.h. This is done because list are a very used primitive structure all over the kernel and it's currently impossible to include other header files in this list.h without creating

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

2008-02-19 Thread Sam Ravnborg
> > I'm not sure either it's a good idea to try to merge mISDN if the > maintainers don't think it is ready yet. In the spirit of relase early - relase often we should at least see what is going on. And Gregory wrote: > ive been hackin away at mISDN for a while and use it with recent kernels >

Re: [PATCH 1/1] cciss: procfs updates to display info about many volumes

2008-02-19 Thread Andrew Morton
On Tue, 19 Feb 2008 11:48:18 +0100 Jens Axboe <[EMAIL PROTECTED]> wrote: > On Mon, Feb 11 2008, Mike Miller wrote: > > Patch 1 of 1 > > > > This patch allows us to display information about all of the logical volumes > > configured on a particular without stepping on memory even when there are >

Re: 2.6.25-rc1-sha1: WARNING: at lib/kref.c:43 kref_get+0x20/0x30()

2008-02-19 Thread Alexey Dobriyan
On Tue, Feb 19, 2008 at 09:19:25AM +0100, Kay Sievers wrote: > On Feb 18, 2008 1:59 PM, Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Fri, 15 Feb 2008 14:08:53 +0300 Alexey Dobriyan <[EMAIL PROTECTED]> > > wrote: > > > > > Booting without SYSFS fills dmesg like this > > > > Does the system norma

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

2008-02-19 Thread Andrew Morton
On Tue, 19 Feb 2008 12:27:54 +0100 Clemens Koller <[EMAIL PROTECTED]> wrote: > Benjamin Herrenschmidt schrieb: > > On Tue, 2008-02-19 at 00:35 +0100, Clemens Koller wrote: > >> [EMAIL PROTECTED] schrieb: > >>> On Mon, 18 Feb 2008 08:18:47 +0100, Krzysztof Helt said: > I know two fb drivers wh

Re: [PATCH] UIO: introduce sysfs_ops for map_attr_ktype

2008-02-19 Thread Hans-Jürgen Koch
Am Tue, 19 Feb 2008 01:55:05 -0800 schrieb Brandon Philips <[EMAIL PROTECTED]>: > This fixes two bugs with UIO that cropped up recently in -rc1 > > 1) WARNING: at fs/sysfs/file.c:334 sysfs_open_file when trying to open >a map addr/size file - complaining about missing sysfs_ops for > ktype >

Re: [PATCH 1/4] ide: fix sparse warning about shadowing 'flags' symbol

2008-02-19 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: drivers/ide/ide.c:801:18: warning: symbol 'flags' shadows an earlier one drivers/ide/ide.c:732:16: originally declared here Also fix some whitespace damage while at it. Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov

Re: WARN_ON(): proc_dir_entry 'rtc' already registered

2008-02-19 Thread Pavel Machek
On Mon 2008-02-18 03:08:16, David Brownell wrote: > On Monday 18 February 2008, Pavel Machek wrote: > > > How to fix ... how about:  instead of just warning folk > > > off such legacy RTC drivers [1] we just wrap them with > > > an "if RTC_LIB != n" so this mistake won't be possible. > > > > Yes,

Re: [PATCH 6/8] net: use numa_node in net_devcice->dev instead of parent

2008-02-19 Thread Ingo Molnar
* Yinghai Lu <[EMAIL PROTECTED]> wrote: > struct sk_buff *__netdev_alloc_skb(struct net_device *dev, > unsigned int length, gfp_t gfp_mask) > { > - int node = dev->dev.parent ? dev_to_node(dev->dev.parent) : -1; > + int node = dev_to_node(&dev->dev); i think this is a fix

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

2008-02-19 Thread Clemens Koller
Benjamin Herrenschmidt schrieb: On Tue, 2008-02-19 at 00:35 +0100, Clemens Koller wrote: [EMAIL PROTECTED] schrieb: On Mon, 18 Feb 2008 08:18:47 +0100, Krzysztof Helt said: I know two fb drivers which use endianess information (pm2fb and s3c2410fb). Both resolve endianess at driver level. Actu

  1   2   3   4   5   6   7   >