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

2007-05-20 Thread Dan Kruchinin
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 from this list: send the line "unsubscribe linux-kernel"

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

2007-05-09 Thread Dan Kruchinin
WARN_ON_ONCE(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

[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

Re: 2.6.21-mm1

2007-05-05 Thread Dan Kruchinin
ta after 'channel_table' (at offset 0x40) WARNING: drivers/dma/async_tx.o - Section mismatch: reference 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 b

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

2007-05-01 Thread Dan Kruchinin
4:15:09 MSD 2007 i686 GNU/Linux [EMAIL PROTECTED] ./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] .

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 200

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

2007-04-29 Thread Dan Kruchinin
; GSI 19 (level, low) -> 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-

Re: 2.6.21-rc7-mm2

2007-04-29 Thread Dan Kruchinin
interrupts 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

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
this function) scripts/kconfig/lxdialog/checklist.c:298: error: 'KEY_RIGHT' undeclared (first use in this function) scripts/kconfig/lxdialog/checklist.c:310: warning: implicit declaration of function ' on_key_esc'

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