[RFC] linux-2.6.22-rc2. SLUB report[kzalloc(0)]

2007-05-20 Thread Dan Kruchinin
my case - is 0 and I suppose, that size of the leastest slab cache can become(in future) smaller than sizeof(struct usb_host_config). Thanks for attention. -- Dan Kruchinin <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

[RFC] linux-2.6.22-rc2. SLUB report[kzalloc(0)]

2007-05-20 Thread Dan Kruchinin
); dev-config = kzalloc(length, GFP_KERNEL); -- isn't clear, because ncfg - in my case - is 0 and I suppose, that size of the leastest slab cache can become(in future) smaller than sizeof(struct usb_host_config). Thanks for attention. -- Dan Kruchinin [EMAIL PROTECTED] - To unsubscribe

Re: [linux-usb-devel] [PATCH -mm] drivers/usb/core/config.c: kzalloc(0, ..)

2007-05-10 Thread Dan Kruchinin
CE(size == 0); in include/linux/slub_def.h: kmalloc_index. btw: as I know when kmalloc(0) both slub and slab allocate the smallest possible size. Can this size be smaller than sizeof(struct usb_host_endpoint)? If it is, may it be a problem? thanks. Dan Kruchinin. It has recently been modified

Re: [linux-usb-devel] [PATCH -mm] drivers/usb/core/config.c: kzalloc(0, ..)

2007-05-10 Thread Dan Kruchinin
usb_host_endpoint)? If it is, may it be a problem? thanks. Dan Kruchinin. It has recently been modified to mirror the SLAB behavior but also do a stack dump so that bad callers can be fixed. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

[PATCH -mm] drivers/usb/core/config.c: kzalloc(0,..)

2007-05-07 Thread Dan Kruchinin
num_ep; + len = sizeof(struct usb_host_endpoint); + if (num_ep > 0) + len *= num_ep; + alt->endpoint = kzalloc(len, GFP_KERNEL); if (!alt->endpoint) return -ENOMEM; ------- Dan Kruchinin. - To unsubscribe from this list

[PATCH -mm] drivers/usb/core/config.c: kzalloc(0,..)

2007-05-07 Thread Dan Kruchinin
usb_host_endpoint) * num_ep; + len = sizeof(struct usb_host_endpoint); + if (num_ep 0) + len *= num_ep; + alt-endpoint = kzalloc(len, GFP_KERNEL); if (!alt-endpoint) return -ENOMEM; --- Dan Kruchinin. - To unsubscribe from

Re: 2.6.21-mm1

2007-05-05 Thread Dan Kruchinin
nce to .init.data: from .data after 'channel_table' (at offset 0x44) -- Dan Kruchinin. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

Re: 2.6.21-mm1

2007-05-05 Thread Dan Kruchinin
to .init.data: from .data after 'channel_table' (at offset 0x44) -- Dan Kruchinin. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

[RFC BUG?] dereference PAGE_OFFSET address (rc7-mm2)

2007-05-01 Thread Dan Kruchinin
TED] ./a.out Trying to cause ELF core dump... All is bad. We don't receive SIGSEGV and core dump hasn't occured. (WHY?!) --- [EMAIL PROTECTED] uname -a Linux midgard 2.6.21-rc7 #5 SMP Wed May 2 02:11:50 MSD 2007 i686 GNU/Linux [EMAIL PROTECTED] ./a.out Trying to cause ELF core dump... All is o

[RFC BUG?] dereference PAGE_OFFSET address (rc7-mm2)

2007-05-01 Thread Dan Kruchinin
and core dump has occured. With best regards. Dan Kruchinin. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: 2.6.21-rc7-mm2 suspend bug. [kernel/kthread.c]

2007-04-30 Thread Dan Kruchinin
On 4/30/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: [Please don't drop addresses from the CC list] On Sunday, 29 April 2007 22:46, Dan Kruchinin wrote: > On 4/30/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > Hi, > > > > On Sunday, 29 April 2007 21:

Re: 2.6.21-rc7-mm2 suspend bug. [kernel/kthread.c]

2007-04-30 Thread Dan Kruchinin
On 4/30/07, Rafael J. Wysocki [EMAIL PROTECTED] wrote: [Please don't drop addresses from the CC list] On Sunday, 29 April 2007 22:46, Dan Kruchinin wrote: On 4/30/07, Rafael J. Wysocki [EMAIL PROTECTED] wrote: Hi, On Sunday, 29 April 2007 21:51, Dan Kruchinin wrote: Hi all

2.6.21-rc7-mm2 suspend bug. [kernel/kthread.c]

2007-04-29 Thread Dan Kruchinin
) -> IRQ 19 Apr 29 23:31:16 midgard kernel: [18014366.939965] sky2 eth0: enabling interface Apr 29 23:31:16 midgard kernel: [18014366.941763] sky2 eth0: ram buffer 48K Apr 29 23:31:16 midgard kernel: [18014367.006976] ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[19] MMIO=[9000-97ff] Max Packe

Re: 2.6.21-rc7-mm2

2007-04-29 Thread Dan Kruchinin
at 1024Hz. [126588.517198] rtc: lost some interrupts at 1024Hz. [126588.535923] rtc: lost some interrupts at 1024Hz. [126588.554643] rtc: lost some interrupts at 1024Hz. cat /proc/sys/dev/rtc/max-user-freq 64 On 2.6.20 there wasn't such problem. Thanks. Dan Kruchinin. - To unsubscribe fro

Re: 2.6.21-rc7-mm2

2007-04-29 Thread Dan Kruchinin
: lost some interrupts at 1024Hz. [126588.535923] rtc: lost some interrupts at 1024Hz. [126588.554643] rtc: lost some interrupts at 1024Hz. cat /proc/sys/dev/rtc/max-user-freq 64 On 2.6.20 there wasn't such problem. Thanks. Dan Kruchinin. - To unsubscribe from this list: send the line

2.6.21-rc7-mm2 suspend bug. [kernel/kthread.c]

2007-04-29 Thread Dan Kruchinin
] ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[19] MMIO=[9000-97ff] Max Packet=[2048] IR/IT contexts=[8/8] ... --- Thanks. Dan Kruchinin. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: 2.6.21-rc7-mm1: Oops and Gnome desktop freezes

2007-04-25 Thread Dan Kruchinin
/vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ I have just the same tracing, but my gnome desktop works pretty good until I launch some application which "eats" much mem, like evince or firefox. After it my X server automatically restarts . Dan Kruchi

Re: menuconfig issue (checklist) in 2.6.20.7 & 2.6.21-rc7 ?

2007-04-25 Thread Dan Kruchinin
html Please read the FAQ at http://www.tux.org/lkml/ you should install ncurses library: ---> scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file ---> or directory good luck. Dan Kruchinin. - To unsubscribe from this list: send the line "unsubscribe linux-kerne

Re: menuconfig issue (checklist) in 2.6.20.7 2.6.21-rc7 ?

2007-04-25 Thread Dan Kruchinin
the FAQ at http://www.tux.org/lkml/ you should install ncurses library: --- scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file --- or directory good luck. Dan Kruchinin. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: 2.6.21-rc7-mm1: Oops and Gnome desktop freezes

2007-04-25 Thread Dan Kruchinin
://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ I have just the same tracing, but my gnome desktop works pretty good until I launch some application which eats much mem, like evince or firefox. After it my X server automatically restarts . Dan Kruchinin. - To unsubscribe

Re: how to purposfully fragment memory?

2007-03-20 Thread Dan Kruchinin
On 3/20/07, Chris Friesen <[EMAIL PROTECTED]> wrote: Asgard wrote: > btw, can you describe your aim in details? I'm doing some work on a network device driver. We were having jumbo frame issues after being up for a month or so because it couldn't allocate enough contiguous memory. We've got

Re: how to purposfully fragment memory?

2007-03-20 Thread Dan Kruchinin
On 3/20/07, Chris Friesen [EMAIL PROTECTED] wrote: Asgard wrote: btw, can you describe your aim in details? I'm doing some work on a network device driver. We were having jumbo frame issues after being up for a month or so because it couldn't allocate enough contiguous memory. We've got a