Re: [PATCH V2] drivers/uio/uio.c: DMA mapping, interrupt extensions, etc.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Avi Kivity
Date: Saturday, April 17, 2010 - 11:34 am

On 04/15/2010 11:55 PM, Tom Lyon wrote:

Use __u64 for both, otherwise you need to rewrite the structures in the 
kernel in case 32-bit userspace calls a 64-bit kernel.


What units?  Size is probably too small.  Suggest unsigned type to avoid 
an extra check in the kernel.


What values can this hold?


What does this do?  Ignore vaddr?


These three need some documentation.


-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH V2] drivers/uio/uio.c: DMA mapping, interrupt e ..., Avi Kivity, (Sat Apr 17, 11:34 am)