Re: [Bluez-devel] Oops involving RFCOMM and sysfs

2008-01-07 Thread Tejun Heo
Dave Young wrote: On Thu, Jan 03, 2008 at 02:16:21PM +0100, Gabor Gombas wrote: On Wed, Jan 02, 2008 at 04:16:42PM +0100, Gabor Gombas wrote: So the patch referenced above does not help. But I've found a very easy way to trigger the bug: - do a cat /dev/zero /dev/rfcomm0 - switch the

Re: [PATCH 0/3 -mm] kexec jump -v8

2008-01-07 Thread Huang, Ying
On Sun, 2008-01-06 at 15:49 -0500, Vivek Goyal wrote: Why should we exchange backup page map information between two kernels? What data has been swapped and how to restore it back should be known to the kernel who did it. I think the memory info and address of ELF headers we can still

Re: [Bluez-devel] Oops involving RFCOMM and sysfs

2008-01-07 Thread Eric W. Biederman
Tejun Heo [EMAIL PROTECTED] writes: Hello, Tejun Heo wrote: Al Viro wrote: On Sat, Jan 05, 2008 at 11:30:25PM +0900, Tejun Heo wrote: Assuming that this is what we get, everything looks explainable - we have sysfs_rename_dir() calling sysfs_get_dentry() while the parent gets evicted. We

Re: umount -l path, getcwd and /proc/pid/cwd inconsistent

2008-01-07 Thread Bauke Jan Douma
Ian Kent wrote on 07-01-08 04:17: Hi all, Could someone please help me understand what's happening with, what looks like inconsistent behavior, between getpwd and procfs readlink. Basically, from a bash shell, setting working directory to a mounted directory all is fine with pwd and

Re: 2.6.24-rc6 oops in net_tx_action

2008-01-07 Thread David Miller
From: [EMAIL PROTECTED] Date: 7 Jan 2008 01:43:50 -0500 Thanks! I got the patch from http://marc.info/?l=linux-netdevm=119756785219214 (Which didn't make it into -rc7; please fix!) and am recompiling now. Jeff is busy so he's asked me to pick up the more important driver bug fixes that get

Re: [PATCH 0/7] sg_ring: a ring of scatterlist arrays

2008-01-07 Thread Rusty Russell
On Monday 07 January 2008 17:37:41 Tejun Heo wrote: Rusty Russell wrote: Hi Tejun, Nice try! Even ignoring the ugliness of undoing such an operation if the caller doesn't expect you to mangle their chains, consider a one-element sg array. :( Heh heh, that can be dealt with by

Re: [PATCH 0/7] convert semaphore to mutex in struct class

2008-01-07 Thread Greg KH
On Mon, Jan 07, 2008 at 10:09:44AM +0800, Dave Young wrote: Thanks for your comment, I rewrite it for 2.6.24-rc7 as a all-in-one patch, please see following. Drop i2c maintainer and list in cc because there's no changes about i2c in this patch: Convert semaphore to mutex in struct class

Re: [PATCH 0/7] sg_ring: a ring of scatterlist arrays

2008-01-07 Thread Tejun Heo
Rusty Russell wrote: On Monday 07 January 2008 17:37:41 Tejun Heo wrote: Rusty Russell wrote: Hi Tejun, Nice try! Even ignoring the ugliness of undoing such an operation if the caller doesn't expect you to mangle their chains, consider a one-element sg array. :( Heh heh, that can be

Re: Linux 2.6.24-rc7 Build Failure on headers_install

2008-01-07 Thread Kamalesh Babulal
Hi, The make allyesconfig build fails on x86_64 (AMD box) with the following error CHK include/linux/version.h CHK include/linux/utsrelease.h CALLscripts/checksyscalls.sh CHK include/linux/compile.h CHK include/linux/version.h make[2]: `scripts/unifdef' is up to

Re: umount -l path, getcwd and /proc/pid/cwd inconsistent

2008-01-07 Thread Ian Kent
On Mon, 2008-01-07 at 09:29 +0100, Bauke Jan Douma wrote: Ian Kent wrote on 07-01-08 04:17: Hi all, Could someone please help me understand what's happening with, what looks like inconsistent behavior, between getpwd and procfs readlink. Basically, from a bash shell, setting

Re: [PATCH] xip: fix get_zeroed_page with __GFP_HIGHMEM

2008-01-07 Thread Carsten Otte
Akinobu Mita wrote: The use of get_zeroed_page() with __GFP_HIGHMEM is invalid. Use alloc_page() with __GFP_ZERO instead of invalid get_zeroed_page(). *Ouch* Acked-by: Carsten Otte [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH 0/7] convert semaphore to mutex in struct class

2008-01-07 Thread David Brownell
On Monday 07 January 2008, Greg KH wrote: Most of the non-driver core code should be converted to not use the lock in the class at all.  They should use a local lock instead. Or better yet, that yet-to-be-written class_for_each_instance() iterator ... :) -- To unsubscribe from this list: send

Re: [PATCH] msi: set 'En' bit of MSI Mapping Capability

2008-01-07 Thread Eric W. Biederman
Peer Chen [EMAIL PROTECTED] writes: Eric, Any decision for this patch, if not, currently we prefer to add all our code to quirks.c. Sorry. I think adding the code to quirks.c is fine. For bisection and code inspection purposes I would prefer the code to come as a patchset of two patches.

Re: [patch 02/20] make the inode i_mmap_lock a reader/writer lock

2008-01-07 Thread Nick Piggin
On Thursday 03 January 2008 19:55, Ingo Molnar wrote: * Nick Piggin [EMAIL PROTECTED] wrote: Have you done anything more with allowing 256 CPUS in this spinlock patch? We've been testing with 1k cpus and to verify with -mm kernel, we need to unpatch these spinlock changes. Hi Mike,

Re: [Bluez-devel] Oops involving RFCOMM and sysfs

2008-01-07 Thread Tejun Heo
Eric W. Biederman wrote: That said, the mechanism is a bit too fragile. sysfs currently ensures that dentry/inode point to the associated sysfs_dirent. This is mainly remanent of conversion from previous VFS based implementation. I think the right thing to do here is to make sysfs behave

Re: [Bluez-devel] Oops involving RFCOMM and sysfs

2008-01-07 Thread Tejun Heo
Tejun Heo wrote: Eric W. Biederman wrote: That said, the mechanism is a bit too fragile. sysfs currently ensures that dentry/inode point to the associated sysfs_dirent. This is mainly remanent of conversion from previous VFS based implementation. I think the right thing to do here is to

Re: kexec refuses to boot latest -mm

2008-01-07 Thread Dhaval Giani
On Sun, Jan 06, 2008 at 02:37:29PM +0100, Ingo Molnar wrote: * Dhaval Giani [EMAIL PROTECTED] wrote: So I went ahead and bisected -mm, and the culprit is git-x86. It boots fine before it, but with git-x86 applied, it fails to boot. Ingo/Thomas, could you please point me to the

Re: [patch 06/19] split LRU lists into anon file sets

2008-01-07 Thread KAMEZAWA Hiroyuki
On Wed, 02 Jan 2008 17:41:50 -0500 linux-kernel@vger.kernel.org wrote: static void shrink_active_list(unsigned long nr_pages, struct zone *zone, - struct scan_control *sc, int priority) + struct scan_control *sc, int priority, int file)

Re: [Bluez-devel] Oops involving RFCOMM and sysfs

2008-01-07 Thread Al Viro
On Mon, Jan 07, 2008 at 06:18:21PM +0900, Tejun Heo wrote: Tejun Heo wrote: Eric W. Biederman wrote: That said, the mechanism is a bit too fragile. sysfs currently ensures that dentry/inode point to the associated sysfs_dirent. This is mainly remanent of conversion from previous VFS

Re: [kvm-devel] [PATCH 02/33] KVM: MMU: emulated cmpxchg8b should be atomic on i386

2008-01-07 Thread Avi Kivity
Carlo Marcelo Arenas Belon wrote: On Sun, Jan 06, 2008 at 04:39:08PM +0200, Avi Kivity wrote: From: Marcelo Tosatti [EMAIL PROTECTED] Emulate cmpxchg8b atomically on i386. This is required to avoid a guest pte walker from seeing a splitted write. [avi: make it compile] Signed-off-by:

Re: umount -l path, getcwd and /proc/pid/cwd inconsistent

2008-01-07 Thread Ian Kent
On Mon, 2008-01-07 at 17:55 +0900, Ian Kent wrote: On Mon, 2008-01-07 at 09:29 +0100, Bauke Jan Douma wrote: Ian Kent wrote on 07-01-08 04:17: Hi all, Could someone please help me understand what's happening with, what looks like inconsistent behavior, between getpwd and procfs

[GIT PATCHES] V4L/DVB fixes

2008-01-07 Thread Mauro Carvalho Chehab
Linus, Please pull from: ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git master For two driver regression fixes: - bttv: VIDIOCGMBUF ioctl hangs on bttv driver - ivtv: udelay has to be changed *after* the eeprom was read, not before Cheers, Mauro. ---

Re: [v4l-dvb-maintainer] [PATCH] Re: Regression: VIDIOCGMBUF ioctl hangs on bttv driver (2.6.24-rc6)

2008-01-07 Thread Mauro Carvalho Chehab
On Mon, 7 Jan 2008 00:22:34 +0100 Ingo Molnar [EMAIL PROTECTED] wrote: * Douglas Landgraf [EMAIL PROTECTED] wrote: Hi guys, Gregor, we have converted bttv driver to use vidioc_ioctl2 some days ago. Could you check and create your patch against v4l development tree? Bttv

Re: [PATCH] vivi driver works only as first device

2008-01-07 Thread Mauro Carvalho Chehab
On Sun, 6 Jan 2008 23:47:19 +0100 Gregor Jasny [EMAIL PROTECTED] wrote: On Dec 10, 2007 8:08 AM, Mauro Carvalho Chehab [EMAIL PROTECTED] wrote: Thanks for the report. Instead of applying your patch, I decided to better analyze the issue, fixing it with the proper solution. The issue is

Re: [PATCH 0/7] convert semaphore to mutex in struct class

2008-01-07 Thread Dave Young
On Jan 7, 2008 4:45 PM, Greg KH [EMAIL PROTECTED] wrote: On Mon, Jan 07, 2008 at 10:09:44AM +0800, Dave Young wrote: Thanks for your comment, I rewrite it for 2.6.24-rc7 as a all-in-one patch, please see following. Drop i2c maintainer and list in cc because there's no changes about i2c in

Re: [patch 07/19] split anon file LRUs for memcontrol code

2008-01-07 Thread KAMEZAWA Hiroyuki
On Wed, 02 Jan 2008 17:41:51 -0500 linux-kernel@vger.kernel.org wrote: Index: linux-2.6.24-rc6-mm1/mm/vmscan.c === --- linux-2.6.24-rc6-mm1.orig/mm/vmscan.c 2008-01-02 15:55:55.0 -0500 +++

Re: kexec refuses to boot latest -mm

2008-01-07 Thread Dhaval Giani
commit 7dd838ea7afa42a8840cf0e262d5892346ecf379 Author: H. Peter Anvin [EMAIL PROTECTED] Date: Sat Jan 5 13:27:04 2008 +0100 sorry, forgot the subject, it is i386: handle an initrd in highmem -- regards, Dhaval -- To unsubscribe from this list: send the line unsubscribe

Re: [RFC] netns / sysfs interaction

2008-01-07 Thread Eric W. Biederman
Al Viro [EMAIL PROTECTED] writes: As much as I hate to touch either subject, let alone both at once... Eric, would you mind explaining what exactly do you want sysfs to do in presense of your namespaces? On the what does user see if we do ... level. Right. I need to repost the

Re: [patch 1/2] show being-loaded/being-unloaded indic ator for modules

2008-01-07 Thread devzero
this looks very useful! Unfortunatly, it's not always easy to see directly which module is being loaded/unloaded from the oops itself. no wonder, as most modules seem to be very quiet on on load/unload. some days ago i was curious how consistent modules would leave messages in syslog

Re: Linux 2.6.24-rc7 Build Failure on headers_install

2008-01-07 Thread Sam Ravnborg
On Mon, Jan 07, 2008 at 02:18:27PM +0530, Kamalesh Babulal wrote: Hi, The make allyesconfig build fails on x86_64 (AMD box) with the following error CHK include/linux/version.h CHK include/linux/utsrelease.h CALLscripts/checksyscalls.sh CHK

Re: [RFC] netns / sysfs interaction

2008-01-07 Thread Al Viro
On Mon, Jan 07, 2008 at 03:01:47AM -0700, Eric W. Biederman wrote: Al Viro [EMAIL PROTECTED] writes: What appears to be a clean solution is to have multiple sysfs superblocks and to capture the namespace at mount time. It is not a clean solution at all. In particular, it leaves you with hell

Re: regression: sysctl_check changes in 2.6.24 are O(n) resulting in slow creation of 10000 network interfaces

2008-01-07 Thread Eric W. Biederman
David Miller [EMAIL PROTECTED] writes: From: [EMAIL PROTECTED] (Eric W. Biederman) Date: Sun, 06 Jan 2008 23:57:57 -0700 Why do we need 1 interfaces? Why isn't network device creation a slow path? Because people create virtual devices like mad. So is this a bug report telling me

Re: [PATCH] block2mtd lockdep_init_map warning

2008-01-07 Thread Jörn Engel
On Mon, 7 January 2008 11:05:26 +0100, Peter Zijlstra wrote: Would something like this work for people? Looks a lot better than what I thought of. However, does the #ifdef within is_module_address() make sense when afaict lockdep is the only caller of that function? Looks as if the whole

Re: [Bluez-devel] Oops involving RFCOMM and sysfs

2008-01-07 Thread Eric W. Biederman
Al Viro [EMAIL PROTECTED] writes: On Mon, Jan 07, 2008 at 06:18:21PM +0900, Tejun Heo wrote: Tejun Heo wrote: Eric W. Biederman wrote: That said, the mechanism is a bit too fragile. sysfs currently ensures that dentry/inode point to the associated sysfs_dirent. This is mainly remanent

Re: [PATCH] block2mtd lockdep_init_map warning

2008-01-07 Thread Peter Zijlstra
On Mon, 2008-01-07 at 11:20 +0100, Jörn Engel wrote: On Mon, 7 January 2008 11:05:26 +0100, Peter Zijlstra wrote: Would something like this work for people? Looks a lot better than what I thought of. However, does the #ifdef within is_module_address() make sense when afaict lockdep is

Re: Linux 2.6.24-rc7 Build-Failure at __you_cannot_kmalloc_that_much

2008-01-07 Thread Kamalesh Babulal
Hi, The defconfig make fails on x86_64 (AMD box) with following error CHK include/linux/utsrelease.h CALLscripts/checksyscalls.sh CHK include/linux/compile.h GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD

Re: umount -l path, getcwd and /proc/pid/cwd inconsistent

2008-01-07 Thread Andreas Schwab
Ian Kent [EMAIL PROTECTED] writes: Basically, from a bash shell, setting working directory to a mounted directory all is fine with pwd and /proc/pid/cwd. Following a umount - l on the mount pwd continues to return the expected string but /proc/pid/cwd returns an empty string. Builtin pwd

Re: acpi/apm events as inputs: how to handle?

2008-01-07 Thread Michael Tokarev
Dmitry Torokhov wrote: Hi Michael, Hello! [] There are keyboards (USB, PS2) with Sleep and Suspend buttons that are not related to ACPI nor APM. We had 2 options - add an input handler that would translate input events into ACPI events and feed /proc/acpi/event[*] or go other way around and

Re: [PATCH 00/11] another rt group sched update

2008-01-07 Thread Peter Zijlstra
The list of open points and issues for this work: - review/testing - handle the PI case better The only thing I can come up with currently is to basically have two priority arrays one for boosted and one for non boosted tasks, and normally run the highest of either array, but in the

Re: [PATCH] kthread: always create the kernel threads with normal priority

2008-01-07 Thread Ingo Molnar
This causes a practical problem. When a runaway real-time task is eating 100% CPU and we attempt to put the CPU offline, sometimes we block while waiting for the creation of the highest-priority kstopmachine thread. sched-devel.git has new mechanisms against runaway RT tasks. There's

regression: 100% io-wait with 2.6.24-rcX

2008-01-07 Thread Joerg Platte
Hi, when booting kernel 2.6.24-rc{4,5,6,7} top reports up to 100% iowait, even if no program accesses the disc on my Thinkpad T40p. Kernel 2.6.23.12 does not suffer from this. Is there anything I can do to find out which process or which part of the kernel is responsible for this? I can try to

Re: [PATCH 00/11] another rt group sched update

2008-01-07 Thread Ingo Molnar
* Peter Zijlstra [EMAIL PROTECTED] wrote: this time compile tested on all 16 combinations of: CONFIG_SMP CONFIG_FAIR_GROUP_SCHED CONFIG_HIGH_RES_TIMERS CONFIG_NO_HZ ran some but not all combinations thanks, applied. This is a really big step forwards in terms of making RT

Re: Size of kernel halts startup

2008-01-07 Thread Ben Dooks
On Mon, Jan 07, 2008 at 11:28:29AM +0800, cksim wrote: Hi, Yesterday, I have encountered an issue when the kernel size is more than 1.3MB. Info on problem encountered as follows: 1) I am using Atmel AT91SAM9261 part. Circuit similar to that of AT91SAM9261EK evaluation board. 2) I am

Re: [PATCH] kthread: always create the kernel threads with normal priority

2008-01-07 Thread Remy Bohmer
Hello Michal and Andrew, Let's not make the decision for the user. Just allow the administrator to change kthreadd's priority safely if he chooses to do it. Ensure that the kernel threads are created with the usual nice level even if kthreadd's priority is changed from the default. Last

[2.6.24-rc6-mm1] Build Failure on ppc64 with CONFIG_USB_GADGET not set.

2008-01-07 Thread sudhir kumar
Hi Andrew! Kernel build fails on my ppc64 machine. It seems to be a dependency problem with CONFIG_USB_GADGET not set. Config file is attached. CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 drivers/built-in.o: In function `oz99x_remove':

Re: [PATCH 00/11] another rt group sched update

2008-01-07 Thread Peter Zijlstra
On Mon, 2008-01-07 at 11:51 +0100, Peter Zijlstra wrote: - I occasionally see a weird lockup on iterating the task_groups list on smp machines. - I failed to see anything wrong, but hey, this stack of used brown paper bags is steadily growing. D'oh --- Don't add a task_group to the

Re: [PATCH 19/24] udf: check if udf_load_logicalvol failed

2008-01-07 Thread Jan Kara
On Sun 23-12-07 02:51:09, [EMAIL PROTECTED] wrote: udf_load_logicalvol may fail eg in out of memory conditions - check it and propagate error further Signed-off-by: Marcin Slusarz [EMAIL PROTECTED] CC: Ben Fennema [EMAIL PROTECTED] CC: Jan Kara [EMAIL PROTECTED] I certainly agree with the

Re: [PATCH 10/28] FS-Cache: Recruit a couple of page flags for cache management [try #2]

2008-01-07 Thread Nick Piggin
On Thursday 03 January 2008 03:27, David Howells wrote: Nick Piggin [EMAIL PROTECTED] wrote: Then make a PG_private2 bit and use that. To what end? Are you suggesting I should have: PG_private2 = PG_private | PG_fscache No. I mean call the bit PG_private2. That way non-pagecache and

[PATCH] 0/5 Codying style fixes in ./arch/x86/ia32

2008-01-07 Thread Paolo Ciarrocchi
Hi all, the following 5 patches fix 227 errors and 2 warnings reported by checkpatch.pl --- BEFORE --- ia32_signal.c total: 96 errors, 11 warnings, 617 lines checked ia32_binfmt.c total: 41 errors, 5 warnings, 285 lines checked ia32_aout.c total: 50 errors, 18 warnings, 528 lines checked

Re: [PATCH 21/24] udf: remove some UDF_SB_* macros

2008-01-07 Thread Jan Kara
On Sun 23-12-07 02:51:11, [EMAIL PROTECTED] wrote: remove macros: - UDF_SB_PARTTYPE - UDF_SB_PARTROOT - UDF_SB_PARTLEN - UDF_SB_PARTVSN - UDF_SB_PARTNUM - UDF_SB_TYPESPAR - UDF_SB_TYPEVIRT - UDF_SB_PARTFUNC - UDF_SB_PARTFLAGS and replace all uses Signed-off-by: Marcin Slusarz [EMAIL

Re: [PATCH 22/24] udf: convert UDF_SB_ALLOC_BITMAP macro to udf_sb_alloc_bitmap function

2008-01-07 Thread Jan Kara
On Sun 23-12-07 02:51:12, [EMAIL PROTECTED] wrote: Signed-off-by: Marcin Slusarz [EMAIL PROTECTED] CC: Ben Fennema [EMAIL PROTECTED] CC: Jan Kara [EMAIL PROTECTED] Looks much better :). Acked-by: Jan Kara [EMAIL PROTECTED]

[PATCH 1/5] Codying style fixes in ./arch/x86/ia32

2008-01-07 Thread Paolo Ciarrocchi
Fix one error reported by checkpatch, it now reports: total: 0 errors, 0 warnings, 42 lines checked Signed-off-by: Paolo Ciarrocchi [EMAIL PROTECTED] --- arch/x86/ia32/audit.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/ia32/audit.c b/arch/x86/ia32/audit.c

Re: [PATCH 23/24] udf: convert UDF_SB_FREE_BITMAP macro to udf_sb_free_bitmap function

2008-01-07 Thread Jan Kara
On Sun 23-12-07 02:51:13, [EMAIL PROTECTED] wrote: additionally fix sparse warnings: fs/udf/super.c:1636:4: warning: symbol 'i' shadows an earlier one fs/udf/super.c:1469:6: originally declared here fs/udf/super.c:1638:4: warning: symbol 'i' shadows an earlier one fs/udf/super.c:1469:6:

New linux arch

2008-01-07 Thread Michal Simek
Hi all, I redesigned all files for microblaze cpu (xilinx fpga). All code is FDT compatible. I would like to ask you what is the best way to push these changes to kernel.org. I would like to know step by step how to do. I have some question about. I have changes in my internal git

PATCH 2/5] Codying style fixes in ./arch/x86/ia32

2008-01-07 Thread Paolo Ciarrocchi
Fix a few codying style violations (37 errors). Checkpatch now reports: total: 2 errors, 1 warnings, 183 lines checked Signed-off-by: Paolo Ciarrocchi [EMAIL PROTECTED] --- arch/x86/ia32/fpu32.c | 68 1 files changed, 34 insertions(+), 34

Re: [PATCH 24/24] udf: fix sparse warnings (shadowing mismatch between declaration and definition)

2008-01-07 Thread Jan Kara
On Sun 23-12-07 02:51:14, [EMAIL PROTECTED] wrote: fix warnings: fs/udf/super.c:1370:24: warning: symbol 'bh' shadows an earlier one fs/udf/super.c:1288:21: originally declared here fs/udf/super.c:450:6: warning: symbol 'udf_write_super' was not declared. Should it be static?

[PATCH 3/5] Codying style fixes in ./arch/x86/ia32

2008-01-07 Thread Paolo Ciarrocchi
Fix plenty of Codying Style errors Checkpatch now reports: total: 2 errors, 18 warnings, 526 lines checked Signed-off-by: Paolo Ciarrocchi [EMAIL PROTECTED] --- arch/x86/ia32/ia32_aout.c | 100 ++--- 1 files changed, 49 insertions(+), 51 deletions(-)

[PATCH 4/5] Codying style fixes in ./arch/x86/ia32

2008-01-07 Thread Paolo Ciarrocchi
Fix 39 Codying Style errors reported by checkpatch It now reports: total: 2 errors, 5 warnings, 285 lines checked Signed-off-by: Paolo Ciarrocchi [EMAIL PROTECTED] --- arch/x86/ia32/ia32_binfmt.c | 70 +- 1 files changed, 35 insertions(+), 35

[PATCH 5/5] Codying style fixes in ./arch/x86/ia32

2008-01-07 Thread Paolo Ciarrocchi
Fix plenty of codying style errors Checkpatch now reports: total: 3 errors, 9 warnings, 617 lines checked Signed-off-by: Paolo Ciarrocchi [EMAIL PROTECTED] --- arch/x86/ia32/ia32_signal.c | 192 +- 1 files changed, 96 insertions(+), 96 deletions(-) diff

Re: pnpacpi: exceeded the max number of IO resources: 24

2008-01-07 Thread Zhao Yakui
On Mon, 2008-01-07 at 00:48 +0100, Frans Pop wrote: (Adding the kernel list back. Any reason you did not send the reply there?) Sorry for the late reply: Christmas, New Year, the flue, etc. Thank you for caring this problem. On Friday 28 December 2007, Zhao Yakui wrote: On Mon, 2007-12-24

[PATCH] Simple coding style fixes, take 2

2008-01-07 Thread Paolo Ciarrocchi
Second version, including fixes according to comments got from Adrian Bunk. Trivial changes to fix some coding style errors. Checkpatch now reports: total: 0 errors, 7 warnings, 409 lines checked Signed-off-by: Paolo Ciarrocchi [EMAIL PROTECTED] --- arch/x86/ia32/ptrace32.c | 155

Re: Size of kernel halts startup

2008-01-07 Thread devzero
Hi! 4) Yesterday, I have done a menuconfig and turned on some drivers (USB HID and I2C). \ This resulted in a kernel size of about 1.4MB. if you saved your old .config you could add those features one after the other to see if it`s size related 5) Booting up this 1.4MB kernel over NFS

Re: sleep before boot panic

2008-01-07 Thread Bodo Eggert
Ingo Oeser [EMAIL PROTECTED] wrote: CC'ed hpa, since I'm sure he can give useful advise on that :-) On Sunday 06 January 2008, Bernd Schubert wrote: On Sunday 06 January 2008, Ingo Oeser wrote: On Sunday 06 January 2008, you wrote: Index: zd1211rw.git.beno/init/do_mounts.c

Re: [PATCH 04/11] hrtimer: fixup the HRTIMER_CB_IRQSAFE_NO_SOFTIRQ fallback

2008-01-07 Thread Peter Zijlstra
On Sun, 2008-01-06 at 17:11 +0100, Peter Zijlstra wrote: plain text document attachment (hrtimer-fallback.patch) I know I should have boot tested more combinations :-( Please fold this into the patch. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- kernel/hrtimer.c | 38

Re: forcedeth: MAC-address reversed on resume from suspend

2008-01-07 Thread Adolfo R. Brandes
Hi, On Jan 6, 2008 10:46 PM, Björn Steinbrink [EMAIL PROTECTED] wrote: Any chance that you applied the patch on your modified sources and didn't get it right? It is perfectly possible that I messed something up, although I double checked what I was doing on the MCP51. However, on that

Re: [PATCH 00/11] another rt group sched update

2008-01-07 Thread Srivatsa Vaddagiri
On Mon, Jan 07, 2008 at 11:51:20AM +0100, Peter Zijlstra wrote: - figure out what to do for UID based group scheduling, the current implementation leaves it impossible for !root users to execute real time tasks by setting rt_runtime_us to 0, and it has no way to change it.

Re: Linux 2.6.24-rc7 kernel BUG at kernel/sched.c:5156!

2008-01-07 Thread Kamalesh Babulal
Hi, When booting the 2.6.24-rc7 kernel on the powerpc, kernel bug at kernel.sched.c is triggered [0.00] Kernel command line: ro console=hvc0 rhgb quiet root=LABEL=/ [0.149567] BUG: scheduling while atomic: kthreadd/2/0x0006f34c [0.149655] BUG: scheduling while atomic:

Re: [PATCH] Fix crash with FLAT_MEMORY and ARCH_PFN_OFFSET != 0

2008-01-07 Thread Mel Gorman
On (30/12/07 12:37), Thomas Bogendoerfer didst pronounce: On Thu, Dec 20, 2007 at 01:27:20PM +, Mel Gorman wrote: On (20/12/07 13:43), Thomas Bogendoerfer didst pronounce: On Thu, Dec 20, 2007 at 11:44:06AM +, Mel Gorman wrote: --- a/include/asm-mips/page.h +++

Re: [PATCH 0/7] sg_ring: a ring of scatterlist arrays

2008-01-07 Thread Herbert Xu
Tejun Heo [EMAIL PROTECTED] wrote: /me agrees. As long as this can be made sane using one unified interface, I don't care whether it's sg_ring, table or dish. Give us sg_annulus :) On a more serious note, having played with SG chaining for a couple of years in the crypto layer, I must say

Re: [PATCH] udf: check if udf_load_logicalvol failed

2008-01-07 Thread Christoph Hellwig
On Sun, Jan 06, 2008 at 01:44:33AM +0100, [EMAIL PROTECTED] wrote: + ret = udf_load_logicalvol(sb, bh, fileset); + if (ret != 0) { + brelse(bh); + return ret; +

Re: [PATCH] udf: fix sparse warnings (shadowing mismatch between declaration and definition)

2008-01-07 Thread Christoph Hellwig
On Sun, Jan 06, 2008 at 01:44:35AM +0100, [EMAIL PROTECTED] wrote: fix sparse warnings: fs/udf/super.c:1431:24: warning: symbol 'bh' shadows an earlier one fs/udf/super.c:1347:21: originally declared here fs/udf/super.c:472:6: warning: symbol 'udf_write_super' was not declared. Should it be

Re: [PATCH] udf: convert some macros to functions

2008-01-07 Thread Christoph Hellwig
On Sun, Jan 06, 2008 at 01:44:34AM +0100, [EMAIL PROTECTED] wrote: +static struct udf_bitmap *udf_sb_alloc_bitmap(struct super_block *sb, __u32 index) +{ + struct udf_part_map *map = UDF_SB(sb)-s_partmaps[index]; + int nr_groups = (map-s_partition_len + (sizeof(struct

[noob q. on block layer] block IO read-ahead during sequential *write*?

2008-01-07 Thread Frantisek Rysanek
Dear Everyone, let me start with a simple example. The following commands: cp /dev/zero /dev/hda dd if=/dev/zero of=/dev/hda [bs=512] both have one common side-effect: apart from the disk being properly overwritten with zeroes, the kernel seems to keep reading sectors ahead of the current

[PATCH] slub: provide /proc/slabinfo

2008-01-07 Thread Pekka J Enberg
From: Pekka Enberg [EMAIL PROTECTED] [ Upstream commits: 57ed3eda977a215f054102b460ab0eb5d8d112e6, 6b6adc22a01941165d5af9a3e69e28e948b28f47, and 158a962422e4a54dc256b6a9b9562f3d30d34d9c ] This adds a read-only /proc/slabinfo file on SLUB, that makes slabtop work. [ [EMAIL PROTECTED]: build

[patch 1/2] x86, ptrace: add version and last remaining size to status command

2008-01-07 Thread Markus Metzger
Return the API version and the size of a bts_struct in the PTRACE_BTS_STATUS command. This might be handy in case other archs want to use and extend the interface. It allows users to program against one version and continue to work for newer versions (they have to discard everything they don't

Unify arch/x86/kernel/acpi/sleep*.c

2008-01-07 Thread Pavel Machek
Unify arch/x86/kernel/acpi/sleep*.c Pretty trivial unification; when two functions differed, it was usually in error handling, and better of the two was picked up. Signed-off-by: Pavel Machek [EMAIL PROTECTED] --- (Seems to work on i386, but needs some x86-64 testing.) commit

Re: [RFC PATCH 02/11] Add fastcall to do_IRQ for i386

2008-01-07 Thread Steven Rostedt
On Sun, 6 Jan 2008, H. Peter Anvin wrote: I thought we had dropped support for the non-REGPARM case, so why don't we just make it work for REGPARM and be done with it? I'm working on that ;-) -- Steve -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: New linux arch

2008-01-07 Thread Pekka Enberg
Hi Michael, On Jan 7, 2008 1:29 PM, Michal Simek [EMAIL PROTECTED] wrote: Is it possible to create git repository in git.kernel.org for Microblaze cpu? You need to ask the kernel.org administrators for that: http://www.kernel.org/faq/#account On Jan 7, 2008 1:29 PM, Michal Simek [EMAIL

Deprecated SCSI ioctl, please convert it to SG_IO

2008-01-07 Thread S, Prathiba
Hi, Using one of the application to write on the device through scsi, I get the following Message Deprecated SCSI ioctl, please convert it to SG_IO. This message is from System log file. It seems to be kernel message. Does any kernel settings is required to overcome this warning message ? I

Re: [noob q. on block layer] block IO read-ahead during sequential *write*?

2008-01-07 Thread Jörn Engel
On Mon, 7 January 2008 13:25:09 +0100, Frantisek Rysanek wrote: let me start with a simple example. The following commands: cp /dev/zero /dev/hda dd if=/dev/zero of=/dev/hda [bs=512] both have one common side-effect: apart from the disk being properly overwritten with zeroes, the

Re: New linux arch

2008-01-07 Thread Michal Simek
Hi Pekka, Is it possible to create git repository in git.kernel.org for Microblaze cpu? You need to ask the kernel.org administrators for that: http://www.kernel.org/faq/#account Thanks. How many maintainers are acceptable? (one or more) You can have as many maintainers as you want

Re: New linux arch

2008-01-07 Thread Michal Simek
Hi Sam, It this code drop available somewhere? the code is based on Petalogix kernel. I reduce huge Kconfig file to necessary size. You'll see in patch or in web. A brief information about this kernel is at http://www.monstr.eu/fdt/ I would like to review the Makefiles and to a lesser

Re: acpi/apm events as inputs: how to handle?

2008-01-07 Thread Andrey Borzenkov
Michael Tokarev wrote: Dmitry Torokhov wrote: Hi Michael, Hello! [] There are keyboards (USB, PS2) with Sleep and Suspend buttons that are not related to ACPI nor APM. We had 2 options - add an input handler that would translate input events into ACPI events and feed

[PATCH 0/16 -v2] lguest smp infrastructure

2008-01-07 Thread Glauber de Oliveira Costa
Folks, This new series is not at all fundamentally different from the old one I sent. Only difference is that I address the comments received, mainly from Rusty. enjoy! -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

[PATCH 01/16] introduce vcpu struct

2008-01-07 Thread Glauber de Oliveira Costa
this patch introduces a vcpu struct for lguest. In upcoming patches, more and more fields will be moved from the lguest struct to the vcpu Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- drivers/lguest/lg.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff

[PATCH 03/16] initialize vcpu

2008-01-07 Thread Glauber de Oliveira Costa
this patch initializes the first vcpu in the initialize() routing, which is responsible for starting the process of putting the guest up. right now, as much of the fields are still not per-vcpu, it does not do much. Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] ---

[PATCH 04/16] per-cpu run guest

2008-01-07 Thread Glauber de Oliveira Costa
This patch makes the run_guest() routine use the vcpu struct. This is required since in a smp guest environment, there's no more the notion of running the guest, but rather, it is running the vcpu Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- drivers/lguest/core.c|6

[PATCH 02/16] adapt lguest launcher to per-cpuness

2008-01-07 Thread Glauber de Oliveira Costa
This patch makes uses of pread() and pwrite() in lguest launcher to communicate the vcpu id to the lguest driver. The id is kept in a thread variable, which means we'll span in the future, vcpus as threads. But right now, only the infrastructure is out there. Signed-off-by: Glauber de Oliveira

[PATCH 05/16] make write() operation smp aware

2008-01-07 Thread Glauber de Oliveira Costa
This patch makes the write() file operation smp aware. Which means, receiving the vcpu_id value through the offset parameter, and being well aware to which vcpu we're talking to. Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- drivers/lguest/lguest_user.c | 11 +-- 1

[PATCH 07/16] per-vcpu lguest timers

2008-01-07 Thread Glauber de Oliveira Costa
Here, I introduce per-vcpu timers. With this, we can have local expiries, needed for accounting time in smp guests Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- drivers/lguest/hypercalls.c |2 +- drivers/lguest/interrupts_and_traps.c | 20 ++--

[PATCH 06/16] make hypercalls use the vcpu struct

2008-01-07 Thread Glauber de Oliveira Costa
this patch changes do_hcall() and do_async_hcall() interfaces (and obviously their callers) to get a vcpu struct. Again, a vcpu services the hypercall, not the whole guest Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- drivers/lguest/core.c |6 +++---

[PATCH 08/16] per-vcpu interrupt processing.

2008-01-07 Thread Glauber de Oliveira Costa
This patch adapts interrupt processing for using the vcpu struct. Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- drivers/lguest/core.c |2 +- drivers/lguest/interrupts_and_traps.c | 25 ++--- drivers/lguest/lg.h | 10

[PATCH 09/16] map_switcher_in_guest() per-vcpu

2008-01-07 Thread Glauber de Oliveira Costa
The switcher needs to be mapped per-vcpu, because different vcpus will potentially have different page tables (they don't have to, because threads will share the same). So our first step is the make the function receive a vcpu struct Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] ---

[PATCH 10/16] make emulate_insn receive a vcpu struct.

2008-01-07 Thread Glauber de Oliveira Costa
emulate_insn() needs to know about current eip, which will be, in the future, a per-vcpu thing. So in this patch, the function prototype is modified to receive a vcpu struct Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- drivers/lguest/x86/core.c |5 +++-- 1 files changed, 3

[PATCH 12/16] replace lguest_arch with lg_vcpu_arch.

2008-01-07 Thread Glauber de Oliveira Costa
The fields found in lguest_arch are not really per-guest, but per-cpu (gdt, idt, etc). So this patch turns lguest_arch into lg_vcpu_arch. It makes sense to have a per-guest per-arch struct, but this can be addressed later, when the need arrives. Signed-off-by: Glauber de Oliveira Costa [EMAIL

[PATCH 11/16] make registers per-vcpu

2008-01-07 Thread Glauber de Oliveira Costa
This is the most obvious per-vcpu field: registers. So this patch moves it from struct lguest to struct vcpu, and patch the places in which they are used, accordingly Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- drivers/lguest/interrupts_and_traps.c | 29

[PATCH 13/16] per-vcpu lguest task management

2008-01-07 Thread Glauber de Oliveira Costa
lguest uses tasks to control its running behaviour (like sending breaks, controlling halted state, etc). In a per-vcpu environment, each vcpu will have its own underlying task. So this patch makes the infrastructure for that possible Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] ---

[PATCH 14/16] makes special fields be per-vcpu

2008-01-07 Thread Glauber de Oliveira Costa
lguest struct have room for some fields, namely, cr2, ts, esp1 and ss1, that are not really guest-wide, but rather, vcpu-wide. This patch puts it in the vcpu struct Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- drivers/lguest/hypercalls.c | 10 +-

[PATCH 15/16] make pending notifications per-vcpu

2008-01-07 Thread Glauber de Oliveira Costa
this patch makes the pending_notify field, used to control pending notifications, per-vcpu, instead of per-guest Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] --- drivers/lguest/core.c|6 +++--- drivers/lguest/hypercalls.c |6 +++--- drivers/lguest/lg.h |

[PATCH 16/16] per-vcpu lguest pgdir management

2008-01-07 Thread Glauber de Oliveira Costa
this patch makes the pgdir management per-vcpu. The pgdirs pool is still guest-wide (although it'll probably need to grow when we are really executing more vcpus), but the pgdidx index is gone, since it makes no sense anymore. Instead, we use a per-vcpu index. Signed-off-by: Glauber de Oliveira

  1   2   3   4   5   6   7   8   9   >