Re: Why does salinfo_log_read_cpu use kmalloc?

From: Keith Owens <kaos_at_sgi.com>
Date: 2003-10-08 22:48:06
On Wed, 8 Oct 2003 12:47:39 +0100, 
Matthew Wilcox <willy@debian.org> wrote:
>On Wed, Oct 08, 2003 at 05:08:14PM +1000, Keith Owens wrote:
>> Why does arch/ia64/kernel/salinfo.c::salinfo_log_read_cpu() use
>> kmalloc() for the log buffer?  The code is running virtual with
>> interrupts enabled, SAL_GET_STATE_INFO has no special requirements for
>> the buffer attributes, so why not use vmalloc()?
>
>I don't see a function called salinfo_log_read_cpu in
>arch/ia64/kernel/salinfo.c ... moreover, I don't see any occurrences of
>the string "alloc" in that file.  Sure you're looking at the right tree?

2.4.22-ia64-030909 and 2.4.22 pristine.  For some reason, this code is
not in the 2.6 trees.

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Oct 8 08:52:16 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:19 EST