Re: Why does salinfo_log_read_cpu use kmalloc?

From: Matthew Wilcox <>
Date: 2003-10-08 21:47:39
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?

"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Wed Oct 8 07:47:51 2003

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