RE: Patch added to scsi-rc-fixes-2.6: [SCSI] arcmsr: fix messageallocation

James Bottomley
2008-02-26T16:14:10Z

On Tue, 2008-02-26 at 12:29 +0800, nickcheng wrote:
> James,
> Appreciate for your answer.
> One more question: do you think there are any compatibility issues on
> kmalloc/kfree pair?
> I just trace the kernel code. It looks like it would not.
> But I am not quite sure absolutely.
> May I have your comments?

You mean does kmalloc/kfree obey the same rules as the coherent
allocators in all regards except coherence ... pretty much, yes. There
are some technical differences at the bottom in terms of page alignment,
but nothing you need to worry about.

James