Hello.
Vegard Nossum wrote:
> That didn't work. I guess that's what you get for no testing ;-) After
> some more investigations, it seems that this is the correct way to fix
> it (and tested!):
It worked in my environment too.
Please apply to 2.6.24-rc3-git6's tree.
Thank you.
--
To unsubscribe
Hello.
Vegard Nossum wrote:
That didn't work. I guess that's what you get for no testing ;-) After
some more investigations, it seems that this is the correct way to fix
it (and tested!):
It worked in my environment too.
Please apply to 2.6.24-rc3-git6's tree.
Thank you.
--
To unsubscribe
Hi Vegard,
On 12/2/07, Vegard Nossum <[EMAIL PROTECTED]> wrote:
> diff --git a/mm/slub.c b/mm/slub.c
> index 9acb413..b9f37cb 100644
> --- a/mm/slub.c
> +++ b/mm/slub.c
> @@ -2558,8 +2558,12 @@ size_t ksize(const void *object)
> if (unlikely(object == ZERO_SIZE_PTR))
>
On Dec 2, 2007 5:30 PM, Vegard Nossum <[EMAIL PROTECTED]> wrote:
> On Dec 2, 2007 11:39 AM, Tetsuo Handa
> <[EMAIL PROTECTED]> wrote:
> > Hello.
> >
> > I can't pass memory allocated by kmalloc() to ksize()
> > if it is allocated by SLUB allocator and
> > size is larger than (I guess) PAGE_SIZE /
On Dec 2, 2007 11:39 AM, Tetsuo Handa
<[EMAIL PROTECTED]> wrote:
> Hello.
>
> I can't pass memory allocated by kmalloc() to ksize()
> if it is allocated by SLUB allocator and
> size is larger than (I guess) PAGE_SIZE / 2.
>
> Regards.
Take a look at mm/slub.c around line 2560, in __kmalloc:
On Sun, Dec 02, 2007 at 10:56:11AM -0500, Mark Lord wrote:
> Tetsuo Handa wrote:
>...
>> kernel BUG at mm/slub.c:2562!
>...
> Is "p" NULL ? Where'd your printk() output go to?
Check the source, that's not the BUG_ON(!object), it's the
BUG_ON(!page).
cu
Adrian
--
"Is there not
On Sun, Dec 02, 2007 at 07:39:59PM +0900, Tetsuo Handa wrote:
> Hello.
>
> I can't pass memory allocated by kmalloc() to ksize()
> if it is allocated by SLUB allocator and
> size is larger than (I guess) PAGE_SIZE / 2.
>
> Regards.
>
> -- Kernel config (grep CONFIG_SLUB .config)
Mark Lord wrote:
Tetsuo Handa wrote:
Hello.
I can't pass memory allocated by kmalloc() to ksize()
if it is allocated by SLUB allocator and
size is larger than (I guess) PAGE_SIZE / 2.
Regards.
-- Kernel config (grep CONFIG_SLUB .config) --
CONFIG_SLUB_DEBUG=y
CONFIG_SLUB=y
#
Tetsuo Handa wrote:
Hello.
I can't pass memory allocated by kmalloc() to ksize()
if it is allocated by SLUB allocator and
size is larger than (I guess) PAGE_SIZE / 2.
Regards.
-- Kernel config (grep CONFIG_SLUB .config) --
CONFIG_SLUB_DEBUG=y
CONFIG_SLUB=y
#
Hello.
I can't pass memory allocated by kmalloc() to ksize()
if it is allocated by SLUB allocator and
size is larger than (I guess) PAGE_SIZE / 2.
Regards.
-- Kernel config (grep CONFIG_SLUB .config) --
CONFIG_SLUB_DEBUG=y
CONFIG_SLUB=y
# CONFIG_SLUB_DEBUG_ON is not set
Hello.
I can't pass memory allocated by kmalloc() to ksize()
if it is allocated by SLUB allocator and
size is larger than (I guess) PAGE_SIZE / 2.
Regards.
-- Kernel config (grep CONFIG_SLUB .config) --
CONFIG_SLUB_DEBUG=y
CONFIG_SLUB=y
# CONFIG_SLUB_DEBUG_ON is not set
Tetsuo Handa wrote:
Hello.
I can't pass memory allocated by kmalloc() to ksize()
if it is allocated by SLUB allocator and
size is larger than (I guess) PAGE_SIZE / 2.
Regards.
-- Kernel config (grep CONFIG_SLUB .config) --
CONFIG_SLUB_DEBUG=y
CONFIG_SLUB=y
#
Mark Lord wrote:
Tetsuo Handa wrote:
Hello.
I can't pass memory allocated by kmalloc() to ksize()
if it is allocated by SLUB allocator and
size is larger than (I guess) PAGE_SIZE / 2.
Regards.
-- Kernel config (grep CONFIG_SLUB .config) --
CONFIG_SLUB_DEBUG=y
CONFIG_SLUB=y
#
On Sun, Dec 02, 2007 at 07:39:59PM +0900, Tetsuo Handa wrote:
Hello.
I can't pass memory allocated by kmalloc() to ksize()
if it is allocated by SLUB allocator and
size is larger than (I guess) PAGE_SIZE / 2.
Regards.
-- Kernel config (grep CONFIG_SLUB .config) --
On Sun, Dec 02, 2007 at 10:56:11AM -0500, Mark Lord wrote:
Tetsuo Handa wrote:
...
kernel BUG at mm/slub.c:2562!
...
Is p NULL ? Where'd your printk() output go to?
Check the source, that's not the BUG_ON(!object), it's the
BUG_ON(!page).
cu
Adrian
--
Is there not promise of
On Dec 2, 2007 11:39 AM, Tetsuo Handa
[EMAIL PROTECTED] wrote:
Hello.
I can't pass memory allocated by kmalloc() to ksize()
if it is allocated by SLUB allocator and
size is larger than (I guess) PAGE_SIZE / 2.
Regards.
Take a look at mm/slub.c around line 2560, in __kmalloc:
if
On Dec 2, 2007 5:30 PM, Vegard Nossum [EMAIL PROTECTED] wrote:
On Dec 2, 2007 11:39 AM, Tetsuo Handa
[EMAIL PROTECTED] wrote:
Hello.
I can't pass memory allocated by kmalloc() to ksize()
if it is allocated by SLUB allocator and
size is larger than (I guess) PAGE_SIZE / 2.
Regards.
Hi Vegard,
On 12/2/07, Vegard Nossum [EMAIL PROTECTED] wrote:
diff --git a/mm/slub.c b/mm/slub.c
index 9acb413..b9f37cb 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -2558,8 +2558,12 @@ size_t ksize(const void *object)
if (unlikely(object == ZERO_SIZE_PTR))
return 0;
18 matches
Mail list logo