Re: 3.5-rc7: nouveau doesn't X on NVC0

2012-08-28 Thread Alexey Dobriyan
Ping! No X for me with 3.6-rc2. On Wed, Jul 18, 2012 at 12:14 AM, Alexey Dobriyan wrote: > FB console is OK, when switching to VT7, there is no KDM prompt. > Instead looping messages appear: > > Failed to idle channel 1 > 0x2634 != chid: 0x0011 >

Re: [PATCH] fs/proc: Move kfree outside pde_unload_lock

2012-08-28 Thread Alexey Dobriyan
On Wed, Aug 22, 2012 at 11:42:58PM +0200, Eric Dumazet wrote: > On Wed, 2012-08-22 at 20:28 +0200, Eric Dumazet wrote: > > > > > Thats interesting, but if you really want this to fly, one RCU > > conversion would be much better ;) > > > > pde_users would be an atomic_t and you would avoid the sp

Re: [PATCH] fs/proc: Move kfree outside pde_unload_lock

2012-08-29 Thread Alexey Dobriyan
On Tue, Aug 28, 2012 at 09:11:57PM -0700, Eric Dumazet wrote: > On Tue, 2012-08-28 at 23:38 +0300, Alexey Dobriyan wrote: > > > Nothing can stop RCU! > > > > After running "modprobe;rmmod" in a loop and "cat" in another loop for a >

Re: [PATCH] fs/proc: Move kfree outside pde_unload_lock

2012-08-29 Thread Alexey Dobriyan
On Wed, Aug 29, 2012 at 7:11 AM, Eric Dumazet wrote: > I'll polish this patch once LKS/LPC is over... It should oops in the following way (excuse Gmail please): PDEO is removed from lists ->pde_users is 0 PDE won't be in purge queue -- no ->release while module is alive Current code removes PDEO

tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-04 Thread Alexey Dobriyan
Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka "PCI: Fix bus resource assignment on 32 bits with 64b resources" renders one tg3-equipped box networkless here. tg3.c:v3.87 (December 20, 2007) tg3: (:02:05.0) phy probe failed, err -19 tg3: Problem fetching invariants

[PATCH] Whine about suspicious return values from module's ->init() hook

2008-02-04 Thread Alexey Dobriyan
One head-scratching session could be noticeably shorter with this patch... Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- kernel/module.c |6 ++ 1 file changed, 6 insertions(+) --- a/kernel/module.c +++ b/kernel/module.c @@ -2171,6 +2171,12 @@ sys_init_module(void __user

Kernel can't find / in 2.6.24-git?

2008-02-04 Thread Alexey Dobriyan
Don't panic. First thing to try is reenabling CONFIG_SYSFS_DEPRECATED. edfaa7c36574f1bf09c65ad602412db9da5f96bf is first bad commit commit edfaa7c36574f1bf09c65ad602412db9da5f96bf Author: Kay Sievers <[EMAIL PROTECTED]> Date: Mon May 21 22:08:01 2007 +0200 Driver core: convert block from r

Re: [RFC PATCH] RTTIME watchdog timer proc interface

2008-02-11 Thread Alexey Dobriyan
On Mon, Feb 11, 2008 at 10:52:47PM +0100, Peter Zijlstra wrote: > > On Mon, 2008-02-11 at 13:44 -0800, Hiroshi Shimamoto wrote: > > Hi Ingo, > > > > I think an interface to access RLIMIT_RTTIME from outside is useful. > > It makes administrator able to set RLIMIT_RTTIME watchdog to existing > > r

[PATCH] proc: print more information when removing non-empty directories

2008-02-11 Thread Alexey Dobriyan
e89c54 ]--- Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- fs/proc/generic.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) --- a/fs/proc/generic.c +++ b/fs/proc/generic.c @@ -769,7 +769,12 @@ continue_removing: if (S_ISDIR(de->mode))

Re: Oops report for the week upto Feb 10th 2008

2008-02-10 Thread Alexey Dobriyan
On Sun, Feb 10, 2008 at 04:35:51PM -0800, Arjan van de Ven wrote: > Rank 3: remove_proc_entry > WARN_ON at fs/proc/generic.c:736 > Reported 20 times (38 total reports) > This WARN_ON is there if code tries to remove a non-empty /proc > directory. > Most reports are ta

Re: 2.6.24-sha1: RIP [] iov_iter_advance+0x38/0x70

2008-02-12 Thread Alexey Dobriyan
On Tue, Feb 12, 2008 at 02:04:30PM -0800, Andrew Morton wrote: > On Sun, 10 Feb 2008 17:00:31 +0300 > Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > > > This happened during LTP. FWIW, modprobe/rmmod trivial empty module > > together with cat /proc/*/wchan and cat /pro

Re: [PATCH] exporting capability code/name pairs (try #4)

2008-02-12 Thread Alexey Dobriyan
On Tue, Feb 12, 2008 at 10:10:06AM +0900, Kohei KaiGai wrote: > Alexey Dobriyan wrote: > >On Fri, Feb 08, 2008 at 06:42:09PM +0900, Kohei KaiGai wrote: > >>[EMAIL PROTECTED] ~]$ ls -R /sys/kernel/capability/ > >>/sys/kernel/capability/: > >>codes names ver

Re: [PATCH 2.6.24-mm1 1/8] (resend) IPC/semaphores: code factorisation

2008-02-13 Thread Alexey Dobriyan
On Tue, Feb 12, 2008 at 05:13:41PM +0100, [EMAIL PROTECTED] wrote: > Trivial patch which adds some small locking functions and makes use of them > to factorize some part of the code and to make it cleaner. What's wrong with consolidation activity in general is that one need to follow tags many tim

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-13 Thread Alexey Dobriyan
On Wed, Feb 13, 2008 at 11:52:46PM +0100, Rafael J. Wysocki wrote: > On Monday, 4 of February 2008, Alexey Dobriyan wrote: > > Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka > > "PCI: Fix bus resource assignment on 32 bits with 64b resources" > > renders one tg

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

2008-02-15 Thread Alexey Dobriyan
Booting without SYSFS fills dmesg like this [ cut here ] WARNING: at lib/kref.c:43 kref_get+0x20/0x30() Modules linked in: loop(+) Pid: 994, comm: modprobe Tainted: G M 2.6.25-rc1 #6 Call Trace: [] warn_on_slowpath+0x64/0x90 [] init_object+0x88/0xa0 [] __slab_allo

Re: Announce: Linux-next (Or Andrew's dream :-))

2008-02-15 Thread Alexey Dobriyan
On Fri, Feb 15, 2008 at 04:21:21PM -0800, Andrew Morton wrote: > On Sat, 16 Feb 2008 00:09:43 + > Russell King <[EMAIL PROTECTED]> wrote: > > > For reference, even _I_ don't build test the entire set of ARM defconfigs - > > at about 7 minutes a build, 75 defconfigs, that's about 9 hours... I

Re: mmap for /proc/vmcore broken since 3.12-rc1

2013-10-08 Thread Alexey Dobriyan
On Mon, Oct 7, 2013 at 5:42 AM, HATAYAMA Daisuke wrote: > +static unsigned long > +get_unmapped_area_vmcore(struct file *filp, unsigned long addr, > +unsigned long len, unsigned long pgoff, > +unsigned long flags) > +{ > +#ifdef CONFIG_MMU > +

Re: 3.5-rc7: nouveau doesn't X on NVC0

2012-09-09 Thread Alexey Dobriyan
had > > some nouveau changes? ] > > > > On Tue, Aug 28, 2012 at 8:26 AM, Alexey Dobriyan > > wrote: > >> Ping! > >> > >> No X for me with 3.6-rc2. > > Can you try -rc4? > > Ben thinks the pcopy fix should fix it. I've tried 3.6.0-r

Re: [RFC] Move kfree outside pde_unload_lock

2012-08-21 Thread Alexey Dobriyan
fending lock is proc_dir_entry->pde_unload_lock. > > In proc_reg_release we are doing a kfree under the spinlock which is ok but it > means we are holding the lock longer then required. Scaling improved when I > moved kfree out. It's OK to move it out. Acked-by: Alexey Dobriya

Re: [2.6 patch] fs/proc/kmsg.c should #include

2008-02-17 Thread Alexey Dobriyan
On Sun, Feb 17, 2008 at 10:20:48AM +0200, Adrian Bunk wrote: > Every file should include the headers containing the externs its global > code (in this case for struct proc_kmsg_operations). It should be moved to fs/proc/internal.h to where it belongs. > --- a/fs/proc/kmsg.c > +++ b/fs/proc/kmsg.

Re: [PATCH] More accessible usage of custom flags

2008-02-17 Thread Alexey Dobriyan
On Sat, Feb 16, 2008 at 09:52:51PM -0500, Nicholas Marquez wrote: > I submitted this patch to the zen-sources Gentoo community and got > much praise and has promptly been included. This kind of thing have > very likely already been done in other patchsets, but I haven't seen > it around, Probably

2.6.25-rc2-mm1: new create_proc_entry() users

2008-02-17 Thread Alexey Dobriyan
> profile-likely-unlikely-macros > page-owner-tracking-leak-detector > cciss-procfs-updates-to-display-info-about-many-volumes Guys, create_proc_entry() is slightly racy in case of modular code and proc_create() was invented to fix it. Eventually all create_proc_entry() users will be converted to

Re: [PATCH] x86: coding style fixes in arch/x86/lib/io_64.c

2008-02-17 Thread Alexey Dobriyan
On Sun, Feb 17, 2008 at 02:41:16PM +0100, Paolo Ciarrocchi wrote: > [PATCH] x86: coding style fixes in arch/x86/lib/io_64.c > > This simple patch makes the file error free (according to > checkpatch.pl) > > > Signed-off-by: Paolo Ciarrocchi <[EMAIL PROTECTED]> > --- > arch/x86/lib/io_64.c | 1

Re: 2.6.25-rc2: Reported regressions from 2.6.24

2008-02-18 Thread Alexey Dobriyan
On 2/18/08, Jiri Slaby <[EMAIL PROTECTED]> wrote: > On 02/17/2008 11:03 PM, Rafael J. Wysocki wrote: > > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=10021 > > Subject : Linux 2.6.25-rc2 regression: LVM cannot find volume > > group > > Submitter : Tilman Schmidt <[EMAIL P

Re: 2.6.25-rc2: Reported regressions from 2.6.24

2008-02-18 Thread Alexey Dobriyan
On 2/18/08, Jiri Slaby <[EMAIL PROTECTED]> wrote: > On 02/18/2008 10:49 AM, Ingo Molnar wrote: > > * Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > > > >> Why on earth do we have CONFIG_SYSFS_DEPRECATED at all if the only > >> sane choice for someone

Re: Oops on 2.6.24.2 "rmmod fan" && "rmmod 8250_pnp"

2008-02-18 Thread Alexey Dobriyan
On Mon, Feb 18, 2008 at 04:59:04AM -0800, Andrew Morton wrote: > On Fri, 15 Feb 2008 00:34:19 + [EMAIL PROTECTED] wrote: > > > Hi, > > > > Just trying out 2.6.24.2 and in unloading some modules which I don't need > > managed to generate kernel oopsii. My apologies if these had been reported,

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 fil

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 02:10:02PM +0100, Kay Sievers wrote: > On Tue, 2008-02-19 at 15:03 +0300, Alexey Dobriyan wrote: > > 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: > > &g

Re: 2.6.24-sha1: RIP [] iov_iter_advance+0x38/0x70

2008-02-19 Thread Alexey Dobriyan
On Wed, Feb 13, 2008 at 03:42:02PM +1100, Nick Piggin wrote: > On Wednesday 13 February 2008 11:17, Nick Piggin wrote: > > On Wednesday 13 February 2008 09:27, Alexey Dobriyan wrote: > > > > It's a trivial dumb module which does nothing but loads and unloads. > >

Re: 2.6.24-sha1: RIP [] iov_iter_advance+0x38/0x70

2008-02-19 Thread Alexey Dobriyan
On Tue, Feb 19, 2008 at 11:47:11PM +0300, wrote: > On Wed, Feb 13, 2008 at 03:42:02PM +1100, Nick Piggin wrote: > > On Wednesday 13 February 2008 11:17, Nick Piggin wrote: > > > On Wednesday 13 February 2008 09:27, Alexey Dobriyan wrote: > > > > > > It's

[PATCH] 9p: fix oops on rmmod

2008-02-20 Thread Alexey Dobriyan
Unloadable modules should just skip module_exit() hook ;-) Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- net/9p/trans_fd.c |7 --- 1 file changed, 7 deletions(-) --- a/net/9p/trans_fd.c +++ b/net/9p/trans_fd.c @@ -459,14 +459,7 @@ static int __init p9_trans_fd_ini

[PATCH] tags: add menuconfig symbols as well

2008-02-22 Thread Alexey Dobriyan
Steps to reproduce: vi -t NETFILTER Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- Makefile |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Makefile +++ b/Makefile @@ -1396,7 +1396,7 @@ define xtags $(all-kconfigs) | xargs

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-06 Thread Alexey Dobriyan
On Wed, Feb 06, 2008 at 07:49:52AM +1100, Benjamin Herrenschmidt wrote: > > > so x86_64 will work well? > > > > the problem is that BIOS does not assign one resource for you tg3. and > > kernel pcibios_assign_to_unassign (?) try > > to assign resource to your card. > > But the kernel shouldn't t

Re: OOPS in sysctl.c

2008-02-06 Thread Alexey Dobriyan
On Wed, Feb 06, 2008 at 12:24:20AM -0800, Andrew Morton wrote: > On Tue, 5 Feb 2008 12:24:56 +0100 Holger Schurig <[EMAIL PROTECTED]> wrote: > > > > I have an embedded target (PXA255 based) where I have a nice > > > running kernel 2.6.15. Today I'm trying to get 2.6.24 running > > > on it. > > >

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-07 Thread Alexey Dobriyan
On Thu, Feb 07, 2008 at 08:15:26AM +1100, Benjamin Herrenschmidt wrote: > > > > > BTW, "[PATCH] x86_32: fix regression caused by trim ram according to mtrr > > on system with 4G more RAM" > > http://marc.info/?l=linux-kernel&m=120229095121673&w=2 > > fixes this box too and I have back all 4G of

2.6.24?: WARNING: at net/core/dev.c: skb_gso_segment()

2008-02-08 Thread Alexey Dobriyan
FYI, this happened several times with OpenVZ kernel here, though one user reported against v2.6.24 but without calltrace: http://marc.info/?l=linux-kernel&m=120155594432027&w=2 Anyway... Driver is tg3. [ 403.240511] WARNING: at net/core/dev.c:1407 skb_gso_segment() if (WARN_ON(skb->ip_

Re: [PATCH] exporting capability code/name pairs (try #4)

2008-02-08 Thread Alexey Dobriyan
On Fri, Feb 08, 2008 at 06:42:09PM +0900, Kohei KaiGai wrote: > [EMAIL PROTECTED] ~]$ ls -R /sys/kernel/capability/ > /sys/kernel/capability/: > codes names version > > /sys/kernel/capability/codes: > 0 10 12 14 16 18 2 21 23 25 27 29 30 32 4 6 8 > 1 11 13 15 17 19 20 22

Re: [PATCH 1/9] x86: change most X86_32 pt_regs members to unsigned long

2008-02-08 Thread Alexey Dobriyan
On Fri, Feb 08, 2008 at 12:09:56PM -0800, Harvey Harrison wrote: > All but ax and orig_ax can move with no changes. > --- a/include/asm-x86/ptrace.h > +++ b/include/asm-x86/ptrace.h > @@ -36,23 +36,23 @@ struct pt_regs { > #else /* __KERNEL__ */ > > struct pt_regs { > - long bx; > - lo

CPA spam in dmesg (no pte level 0)

2008-02-08 Thread Alexey Dobriyan
I enabled pretty much all debugging on 2.6.24-0cf975e16927fd70f34cee20d3856246c13bb4c8 and CPA code continuosly spams dmesg like this: [ 24.10] CPA 81008000 no pte level 0 [ 24.52] PGD 8063 PUD 0 [ 24.52] CPA 81008000 no pte level 0 [ 24.54] PGD 8063 PUD 0

2.6.24-sha1: RIP [] iov_iter_advance+0x38/0x70

2008-02-10 Thread Alexey Dobriyan
This happened during LTP. FWIW, modprobe/rmmod trivial empty module together with cat /proc/*/wchan and cat /proc/modules were also running. Box is E6400, much debugging is on, config below. [ 4057.31] BUG: unable to handle kernel paging request at 810101dbc008 [ 4057.31] IP: [] iov_

Re: 2.6.24-sha1: RIP [] iov_iter_advance+0x38/0x70

2008-02-10 Thread Alexey Dobriyan
On Sun, Feb 10, 2008 at 05:00:31PM +0300, wrote: > This happened during LTP. FWIW, modprobe/rmmod trivial empty module > together with cat /proc/*/wchan and cat /proc/modules were also running. > > Box is E6400, much debugging is on, config below. > > > [ 4057.31] BUG: unable to handle kern

Re: pci_proc_init: proc_dir_entry '00' already registered

2008-02-10 Thread Alexey Dobriyan
On Sun, Feb 10, 2008 at 11:07:57AM +0100, Olaf Hering wrote: > Current Linus tree gives this new warning during bootup: > > +proc_dir_entry '00' already registered > +Call Trace: > +[c0007b0dfba0] [c000e4b0] .show_stack+0x70/0x1bc (unreliable) > +[c0007b0dfc50] [c00f2714] .

Re: [PATCH 7/8] drivers/usb: Use FIELD_SIZEOF

2008-02-10 Thread Alexey Dobriyan
On Sun, Feb 10, 2008 at 09:15:09PM +0100, Julia Lawall wrote: > --- a/drivers/usb/atm/usbatm.c > +++ b/drivers/usb/atm/usbatm.c > @@ -1349,7 +1349,7 @@ static int __init usbatm_usb_init(void) > { > dbg("%s: driver version %s", __func__, DRIVER_VERSION); > > - if (sizeof(struct usbatm_c

Re: [PATCH 8/8] : Use FIELD_SIZEOF

2008-02-10 Thread Alexey Dobriyan
On Sun, Feb 10, 2008 at 09:16:04PM +0100, Julia Lawall wrote: > --- a/include/net/sctp/sctp.h > +++ b/include/net/sctp/sctp.h > @@ -618,7 +618,7 @@ static inline int param_type2af(__be16 t > static inline int sctp_sanity_check(void) > { > SCTP_ASSERT(sizeof(struct sctp_ulpevent) <= > -

[PATCH v2] Whine about suspicious return values from module's ->init() hook

2008-02-10 Thread Alexey Dobriyan
orten some of my head-scratching sessions. Note, that dump_stack() is just a way to get attention from user. Sample message: sys_init_module: 'foo'->init suspiciously returned 1, it should follow 0/-E convention sys_init_module: loading module anyway... Pid: 4223, comm: modprobe Not tai

Re: Question about your git habits

2008-02-23 Thread Alexey Dobriyan
On Sat, Feb 23, 2008 at 03:23:49AM +0100, J.C. Pizarro wrote: > On 2008/2/23, Al Viro <[EMAIL PROTECTED]> wrote: > > On Fri, Feb 22, 2008 at 05:51:04PM -0800, Junio C Hamano wrote: > > > Al Viro <[EMAIL PROTECTED]> writes: > > > > > > > On Sat, Feb 23, 2008 at 02:37:00AM +0100, Jan Engelhardt wr

Re: [PATCH 00/16] (Resend) Use get_personality()

2008-02-23 Thread Alexey Dobriyan
On Sat, Feb 23, 2008 at 04:14:03PM +0800, WANG Cong wrote: > This patchset makes the macro get_personality function alike > and teaches code to use get_personality() instead of explicit > reference. > > [I am sorry if you've received multiple copied of this, since > my git-send-email doesn't work

Re: [PATCH 00/16] (Resend) Use get_personality()

2008-02-23 Thread Alexey Dobriyan
On Sat, Feb 23, 2008 at 04:59:44PM +0800, WANG Cong wrote: > From: Alexey Dobriyan <[EMAIL PROTECTED]> > Subject: Re: [PATCH 00/16] (Resend) Use get_personality() > > On Sat, Feb 23, 2008 at 04:14:03PM +0800, WANG Cong wrote: > > > This patchset makes the macro get

SMACK or SELinux, but not both

2008-02-26 Thread Alexey Dobriyan
If SELinux is registered before SMACK, SMACK panics after register_security() call. If SMACK is registered before SELinux, SELinux panics after register_security() call. Consequently allmodconfig kernel doesn't boot. It would be nice if some Kconfig magic to exclude each other will be in place.

[PATCH] crypto: switch to proc_create()

2008-02-26 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- crypto/proc.c |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) --- a/crypto/proc.c +++ b/crypto/proc.c @@ -99,11 +99,7 @@ static const struct file_operations proc_crypto_ops = { void __init crypto_init_pro

[PATCH] proc: switch to proc_create()

2008-02-26 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- fs/proc/internal.h |2 - fs/proc/nommu.c |2 - fs/proc/proc_misc.c | 66 +--- fs/proc/proc_tty.c |5 --- 4 files changed, 24 insertions(+), 51 deletions(-) --- a/f

[PATCH] keys: switch to proc_create()

2008-02-26 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- security/keys/proc.c |8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) --- a/security/keys/proc.c +++ b/security/keys/proc.c @@ -70,19 +70,15 @@ static int __init key_proc_init(void) struct proc_dir_en

[PATCH] proc: switch to proc_create()

2008-02-26 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- fs/proc/internal.h |2 - fs/proc/nommu.c |2 - fs/proc/proc_misc.c | 66 +--- fs/proc/proc_tty.c |5 --- 4 files changed, 24 insertions(+), 51 deletions(-) --- a/f

[PATCH] arch/x86/: switch to proc_create()

2008-02-26 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- arch/x86/kernel/apm_32.c |5 + arch/x86/kernel/cpu/mtrr/if.c |6 ++ 2 files changed, 3 insertions(+), 8 deletions(-) --- a/arch/x86/kernel/apm_32.c +++ b/arch/x86/kernel/apm_32.c @@ -2217,7 +2217,6 @@ static

Re: Please, put 64-bit counter per task and incr.by.one each ctxt switch.

2008-02-26 Thread Alexey Dobriyan
On 2/26/08, J.C. Pizarro <[EMAIL PROTECTED]> wrote: > On 2008/2/25, Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Sun, 24 Feb 2008 14:12:47 +0100 "J.C. Pizarro" <[EMAIL PROTECTED]> > wrote: > > > > > It's statistic, yes, but it's a very important parameter for the > CPU-scheduler. > > > The CPU-s

Re: 2.6.12-rc2-mm2

2005-04-08 Thread Alexey Dobriyan
On Friday 08 April 2005 10:08, Andrew Morton wrote: > +docbook-use-xmlto-to-process-the-docbook-files.patch htmldocs (haven't look at pdf, etc...) became K&R'ish. Synopsis struct sk_buff * skb_share_check (skb,

Re: [patch 1/2] Docbook: use custom stylesheet

2005-04-11 Thread Alexey Dobriyan
On Monday 11 April 2005 15:58, Martin Waitz wrote: > Docbook: use custom stylesheet > > With the custom stylesheet, functions are rendered using ANSI-C syntax > and xmlto is a bit quieter. Definitely better. Still remains (anything with more than 1 argument): =

Re: [patch 164/198] IB/mthca: fill in more device query fields

2005-04-12 Thread Alexey Dobriyan
On Tuesday 12 April 2005 10:33, [EMAIL PROTECTED] wrote: > Implement more of the device_query method in mthca. > --- > 25/drivers/infiniband/hw/mthca/mthca_provider.c~ib-mthca-fill-in-more-device-query-fields > +++ 25-akpm/drivers/infiniband/hw/mthca/mthca_provider.c > @@ -52,6 +52,8 @@ static i

Re: [patch 134/198] officially deprecate register_ioctl32_conversion

2005-04-12 Thread Alexey Dobriyan
On Tuesday 12 April 2005 10:32, [EMAIL PROTECTED] wrote: > These have been deprecated since ->compat_ioctl when in, thus only a short > deprecation period. There's four users left: i2o_config, s390/z90crypy, > s390/dasd and s390/zfcp and for the first two patches are about to be > submitted to ge

Re: [2.6 patch] drivers/serial/8250_acpi.c: fix a warning

2005-04-15 Thread Alexey Dobriyan
On Fri, 15 Apr 2005 17:10:53 +0200, Adrian Bunk wrote: > This patch fixes the following warning: > CC drivers/serial/8250_acpi.o > drivers/serial/8250_acpi.c: In function `acpi_serial_ext_irq': > drivers/serial/8250_acpi.c:51: warning: implicit declaration of function > `acpi_register_gsi

Re: [PATCH 3/27] Add MAD helper functions

2005-07-11 Thread Alexey Dobriyan
On Monday 11 July 2005 19:30, Hal Rosenstock wrote: > On Mon, 2005-07-11 at 10:39, Alexey Dobriyan wrote: > > On Monday 11 July 2005 17:48, Hal Rosenstock wrote: > > > Add new helper routines for allocating MADs for sending and formatting > > > a send WR. > > >

Re: [openib-general] Re: [PATCH 3/27] Add MAD helper functions

2005-07-11 Thread Alexey Dobriyan
On Monday 11 July 2005 21:52, Tom Duffy wrote: > Alexey Dobriyan wrote: > > >unsigned int __nocast gfp_mask, please. 430 or so infiniband sparse warnings > >is not a reason to add more. > > > > > Can you please elaborate on the sparse warnings that you are

Re: [PATCH 3/27] Add MAD helper functions

2005-07-11 Thread Alexey Dobriyan
On Monday 11 July 2005 17:48, Hal Rosenstock wrote: > Add new helper routines for allocating MADs for sending and formatting > a send WR. > -- linux-2.6.13-rc2-mm1/drivers/infiniband2/core/mad.c > +++ linux-2.6.13-rc2-mm1/drivers/infiniband3/core/mad.c ^^

Re: [PATCH -rc2-mm2] BUG FIX - v4l broken hybrid dvb inclusion

2005-07-12 Thread Alexey Dobriyan
On Tuesday 12 July 2005 19:06, Michael Krufky wrote: > v4l-saa7134-hybrid-dvb.patch > v4l-cx88-update.patch > > The specific change that caused this problem is: > > - Let Kconfig decide whether to include frontend-specific code. > > I had tested this change against 2.6.13-rc2-mm1, and it worked

Re: [PATCH -rc2-mm2] BUG FIX - v4l broken hybrid dvb inclusion

2005-07-12 Thread Alexey Dobriyan
On Tuesday 12 July 2005 21:19, Michael Krufky wrote: > Alexey Dobriyan wrote: > >On Tuesday 12 July 2005 19:06, Michael Krufky wrote: > > > > > >>v4l-saa7134-hybrid-dvb.patch > >>v4l-cx88-update.patch > >> > >>The specific change that caus

Re: [PATCH/URL] reiserfs: reformat code with Lindent

2005-07-12 Thread Alexey Dobriyan
On Tuesday 12 July 2005 23:42, Jeff Mahoney wrote: > The ReiserFS code is a mix of a number of different coding styles, sometimes > different even from line-to-line. Since the code has been relatively stable > for quite some time and there are few outstanding patches to be applied, it > is time

Re: [PATCH] Runtime fix for intermodule.c

2005-07-12 Thread Alexey Dobriyan
On Wednesday 13 July 2005 01:39, Adrian Glaubitz wrote: > This little patch adds the missing function declaration > of the deprecatated function call inter_module_get > to the header file include/linux/module.h and the > necessary EXPORT_SYMBOL to kernel/intermodule.c. Without > the declaration and

Re: [PATCH 3/27] Add MAD helper functions

2005-07-12 Thread Alexey Dobriyan
On Wednesday 13 July 2005 02:17, Michael S. Tsirkin wrote: > Quoting r. Tom Duffy <[EMAIL PROTECTED]>: > > These seem to be mostly coming from cpu_to_be*() and be*_to_cpu(). Is > > there a good rule of thumb for fixing these warnings? > > Yes. > Use attributes like __be32 and friends appropriatel

Re: 2.6.12.2 tg3 driver doesn't ARP on 8021q 802.1q dot1q VLAN interfaces?

2005-07-14 Thread Alexey Dobriyan
On Monday 11 July 2005 10:29, Marc Haber wrote: > After rebooting, the VLANs on the Intel-based interfaces worked fine, while > the tg3-based interfaces didn't answer to tagged ARP requests. The untagged > VLAN on the tg3-based interfaces was fine as well. When tcpdumping the > subinterfaces, I saw

[PATCH] visws: reexport pm_power_off

2005-07-14 Thread Alexey Dobriyan
the exports for voyager (which is the most > affected since it has a separate smp harness). However, someone should > audit all the other subarchitectures to see if any others got broken. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- arch/i386/mach-visws/reboot.c |1 + 1

Re: (v9fs) -mm -> 2.6.13 merge status

2005-07-14 Thread Alexey Dobriyan
On Friday 15 July 2005 00:04, Christoph Hellwig wrote: > normally we prefer a patch per actual change, not per file so the > description fits. Given that all these are pretty trivial fixes one > patch would have done it aswell, though. > > With these changes the code is fine for mainline in my op

Re: [announce] linux kernel performance project launch at sourceforge.net

2005-07-14 Thread Alexey Dobriyan
On Friday 15 July 2005 00:21, Chen, Kenneth W wrote: > I'm pleased to announce that we have established a linux kernel > performance project, hosted at sourceforge.net: > > http://kernel-perf.sourceforge.net Perhaps, some cool-looking graphs instead of tables. Or you can write in red numbers wher

[PATCH -linus] Really __nocast-annotate kmalloc_node().

2005-07-15 Thread Alexey Dobriyan
One chunk was lost somewhere between my and Andrew's machine. Noticed by Victor Fusco. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- include/linux/slab.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- linux-vanilla/include/linux/slab.h 2005-07-08 13:52:4

[PATCH] lib/int_sqrt.c: speedup compilation

2005-07-16 Thread Alexey Dobriyan
It uses only EXPORT_SYMBOL, so... Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- lib/int_sqrt.c |2 -- 1 files changed, 2 deletions(-) --- linux-vanilla/lib/int_sqrt.c2005-07-16 02:05:11.0 +0400 +++ linux-int_sqrt/lib/int_sqrt.c 2005-07-16 03:11:38.000

Re: Linux v2.6.13-rc3

2005-07-17 Thread Alexey Dobriyan
On Sun, Jul 17, 2005 at 01:18:54PM +0200, Borislav Petkov wrote: > net/ipv4/netfilter/ip_conntrack_core.c: In function 'ip_conntrack_in': > net/ipv4/netfilter/ip_conntrack_core.c:612: warning: 'set_reply' may be used > uninitialized in this function > --- net/ipv4/netfilter/ip_conntrack_core.c.ori

Re: 2.6.12.3 compile error

2005-07-17 Thread Alexey Dobriyan
On Sun, Jul 17, 2005 at 09:43:01PM +0200, speedy wrote: > I've got an error while compiling stock kernel 2.6.12.3 > downloaded from kernel.org. > Of course, disabling all of the ATY FB driver entries fixed the > bug. > LD .tmp_vmlinux1 > drivers/built-in.o(.text+0x2

Re: [PATCH] jsm driver - Linux-2.6.12.3

2005-07-19 Thread Alexey Dobriyan
On Tue, Jul 19, 2005 at 12:53:20PM -0500, V. ANANDA KRISHNAN wrote: > This patch takes care of (1) compiler warnings which displays the mixing > of declarations and code With what gcc version and what CFLAGS? > (2) dynamic allocation of major device number > instead of the static number 253 (3) t

Fwd: Re: [Bug 4774] e1000 driver works on UP, but not SMP x86_64

2005-07-21 Thread Alexey Dobriyan
http://bugme.osdl.org/show_bug.cgi?id=4774 - Forwarded message - From: David Lang <[EMAIL PROTECTED]> To: Alexey Dobriyan <[EMAIL PROTECTED]> Subject: Re: Fwd: [Bug 4774] e1000 driver works on UP, but not SMP x86_64 (fwd) after beign out for a week and getting ca

Re: sis190 driver

2005-07-21 Thread Alexey Dobriyan
----- Add endian annotations. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> Index: linux-sis190/drivers/net/sis190.c === --- linux-sis190.orig/drivers/ne

Re: platform-device-driver-for-mq11xx-graphics-chip.patch added to -mm tree

2005-08-05 Thread Alexey Dobriyan
On Fri, Aug 05, 2005 at 12:18:03AM -0700, [EMAIL PROTECTED] wrote: > From: Jamey Hicks <[EMAIL PROTECTED]> > > This patch adds platform_device driver for MQ11xx system-on-chip graphics > chip. This chip is used in several non-PCI ARM and MIPS platforms such as > the iPAQ H5550. Two subsequent pa

[PATCH C&C] gdth: remove GDTIOCTL_OSVERS

2005-08-07 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- drivers/scsi/gdth.c | 12 drivers/scsi/gdth_ioctl.h |8 2 files changed, 20 deletions(-) diff -uprN linux-vanilla/drivers/scsi/gdth.c linux-gdth/drivers/scsi/gdth.c --- linux-vanilla/drivers/scsi/

Re: [PATCH C&C] gdth: remove GDTIOCTL_OSVERS

2005-08-08 Thread Alexey Dobriyan
On Mon, Aug 08, 2005 at 03:40:27AM +0200, Adrian Bunk wrote: > On Mon, Aug 08, 2005 at 02:28:29AM +0400, Alexey Dobriyan wrote: > > - case GDTIOCTL_OSVERS: > > - { > > -gdth_ioctl_osvers osv; > > - > > -osv.version =

[PATCH] gdth: schedule GDTIOCTL_OSVERS for removal

2005-08-09 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- Documentation/feature-removal-schedule.txt |8 1 files changed, 8 insertions(+) --- linux-vanilla/Documentation/feature-removal-schedule.txt +++ linux-gdth/Documentation/feature-removal-schedule.txt @@ -135,3 +135,11

[PATCH] farsync: schedule struct fstioc_info::kernelVersion for removal

2005-08-09 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- Documentation/feature-removal-schedule.txt |8 1 files changed, 8 insertions(+) --- linux-vanilla/Documentation/feature-removal-schedule.txt +++ linux-farsync/Documentation/feature-removal-schedule.txt @@ -121,6 +121,14

Re: [patch][-mm] selinux: Reduce memory use by avtab

2005-08-11 Thread Alexey Dobriyan
On Thu, Aug 11, 2005 at 03:32:24PM -0400, Stephen Smalley wrote: > This patch improves memory use by SELinux by both reducing the avtab > node size and reducing the number of avtab nodes. > +int avtab_read_item(void *fp, u32 vers, struct avtab *a, > + int (*insertf)(struct avtab *a

sparc, ppc64 build failures (allmodconfig, -latest)

2005-08-12 Thread Alexey Dobriyan
ppc64 drivers/isdn/hisax/avm_pci.c: In function `hdlc_empty_fifo': drivers/isdn/hisax/avm_pci.c:271: error: `_IO_BASE' undeclared (first use in this function) drivers/macintosh/via-pmu.c:63:27: asm/backlight.h: No such file or directory Same thing for: drivers/video/aty/atyfb_base.c:94

Re: [patch][-mm] selinux: Reduce memory use by avtab

2005-08-12 Thread Alexey Dobriyan
On Fri, Aug 12, 2005 at 08:47:20AM -0400, Stephen Smalley wrote: > Should -Wbitwise be included in CHECKFLAGS in the kernel Makefile by > default? It should but not right now ;-). $ grep -c "warning: " W_sparse_* W_sparse_i386:14887 W_sparse_ppc:16214 W_sparse_ppc64:15765 W_sparse_sparc:8906 W_sp

Re: [patch 01/39] comment typo fix

2005-08-12 Thread Alexey Dobriyan
On Fri, Aug 12, 2005 at 07:31:29PM +0200, [EMAIL PROTECTED] wrote: > smp_entry_t -> swap_entry_t > > Too short changelog entry? No, just wrong patch with non-descriptive subject line. > --- linux-2.6.git/include/linux/swapops.h~fix-typo > +++ linux-2.6.git-paolo/include/linux/swapops.h > @@ -4,7

Re: 2.6.13-rcX really this bad ?

2005-08-14 Thread Alexey Dobriyan
On Sun, Aug 14, 2005 at 01:43:18PM +0200, Alexander Nyberg wrote: > On Sun, Aug 14, 2005 at 10:10:18AM + Danny ter Haar wrote: > > I've posted a couple of times than my newsserver is not stable > > with any 2.6.13-rcX kernels. > > Last kernel that survived is 2.6.12-mm1 (18+days) > Is the mach

Re: [USB-Storage : i386] Oops with an adaptor for laptop hard disk.

2005-08-15 Thread Alexey Dobriyan
On Mon, Aug 15, 2005 at 12:29:25PM +0200, Stephane Wirtel wrote: > With a laptop hard disk adaptop to usb, I do a modprobe with the > usb-storage module. If I disconnect my hard disk, I get an oops. > nvidia 3711688 14 - Live 0xe10f1000 > EIP:0060:[]Tainted: P VLI Is it reproducable

Re: [PATCH 4/4] cciss 2.4: fixes a warning from cciss_scsi.c during compile

2005-08-15 Thread Alexey Dobriyan
On Mon, Aug 15, 2005 at 04:24:25PM -0500, mikem wrote: > This patch fixes a warning during compile. > --- lx2431-p003/drivers/block/cciss_scsi.c > +++ lx2431/drivers/block/cciss_scsi.c > @@ -220,8 +220,7 @@ scsi_cmd_stack_free(int ctlr) > printk( "cciss: %d scsi commands are still ou

Re: [RFC] Cleanup line-wrapping in pgtable.h

2005-08-17 Thread Alexey Dobriyan
On Wed, Aug 17, 2005 at 06:56:01PM +0100, Christoph Hellwig wrote: > > +static inline int pte_user(pte_t pte) > > + { return (pte).pte_low & _PAGE_USER; } > > Once you start reformatting things please make sure the result version > matches the documented codingstyle. That would be: > > static

Re: 2.6.13-rc1-mm1

2005-07-04 Thread Alexey Dobriyan
On Saturday 02 July 2005 02:05, Rafael J. Wysocki wrote: > I get this errors on a dual-Opteron box (64-bit): > ReiserFS: sdb3: warning: sh-2006: read_super_block: bread failed (dev sdb3, > block 16, size 512) > ReiserFS: sdb3: warning: sh-2006: read_super_block: bread failed (dev sdb3, > block 1

Re: 2.6.12-rc6 mm->total_vm accounting imbalance?

2005-07-04 Thread Alexey Dobriyan
On Friday 01 July 2005 18:13, Frank van Maarseveen wrote: > It seems that mm->vm_total is decreased too many times and wraps below > zero: > VmSize: 4294966376 kB <== > VmData: 4294960304 kB <== I've filed a bug at kernel bugzilla so your report won't be lost. See

Re: IRQ routing problem

2005-07-04 Thread Alexey Dobriyan
On Sunday 03 July 2005 15:16, Marko Kohtala wrote: > irq 20: nobody cared (try booting with the "irqpoll" option) I've filed a bug at kernel bugzilla so your report won't be lost. See http://bugme.osdl.org/show_bug.cgi?id=4843 You can register at http://bugme.osdl.org/createaccount.cgi and add yo

Re: [PATCH] tpm: Support for new chip type

2005-07-05 Thread Alexey Dobriyan
On Tuesday 05 July 2005 16:49, Marcel Selhorst wrote: > this patch supports the Infineon Trusted Platform Module SLD 9630 (TPM 1.1b), > which is embedded on Intel-mainboards or in > HP/Fujitsu-Siemens/Toshiba-Notebooks. Please feed it to scripts/Lindent. It will at least place all curly bracers r

[PATCH -mm] iteraid: remove ITE_IOC_GET_DRIVER_VERSION

2005-07-05 Thread Alexey Dobriyan
Until too late. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> diff -uprN linux-2.6.13-rc1-mm1/drivers/scsi/iteraid.c linux-2.6.13-rc1-mm1-iteraid/drivers/scsi/iteraid.c --- linux-2.6.13-rc1-mm1/drivers/scsi/iteraid.c 2005-07-03 04:13:08.0 +0400 +++ linux-2.6.13-rc1-mm1-i

Re: pf: Oops with Imation SuperDisk

2005-07-06 Thread Alexey Dobriyan
On Sunday 03 July 2005 15:47, Ondrej Zary wrote: > I've tried to use my external Imation SuperDisk parallel port drive in > Linux 2.6.12 but failed. I've filed a bug at kernel bugzilla so your report won't be lost. See http://bugme.osdl.org/show_bug.cgi?id=4853 You can register at http://bugme.o

Re: PROBLEM: please remove reserved word "new" from kernel headers

2005-07-06 Thread Alexey Dobriyan
On Wednesday 06 July 2005 13:26, Rob Prowel wrote: > When kernel headers are included in compilation of c++ > programs the compile fails because some header files > use "new" in a way that is illegal for c++. This > shows up when compiling mySQL under linux 2.6. It > uses $KERNELSOURCE/include/as

Re: OOPS: frequent crashes with bttv in 2.6.X series (inc. 2.6.12)

2005-07-06 Thread Alexey Dobriyan
On Wednesday 06 July 2005 14:11, Jeremy Laine wrote: > I keep getting OOPS's when using a Bt878 TV card, I am basically unable to > watch > TV for more than about 20-30mn without my system grinding to a halt. > I have seen suggestions to try without PREEMPT enabled, which I will be doing > shortl

  1   2   3   4   5   6   7   8   9   10   >