Hi TJF,

I love the work you do and the advise you give. My only purpose was to remove 
any confusion ;-)

Regards,
John




> On Mar 1, 2018, at 9:06 AM, TJF <[email protected]> wrote:
> 
> 
> 
> Am Mittwoch, 28. Februar 2018 16:28:18 UTC+1 schrieb john3909:
> 
>> On Feb 28, 2018, at 6:47 AM, TJF <[email protected] <>> wrote:
>> 
>> When you allocate the array from user space the memory may be not 
>> continuous. To get a single block, you have to allocate from kernel space.
> This is not a true statement. The kernel uses virtual memory just like user 
> space does. The memory is only contiguous in physical memory if you use 
> kmalloc. If you use vmalloc, the memory can be fragmented in physical memory. 
>  
> 
> Oh, yes. John is right (as always). Here's my corrected statement: 
> 
> When you allocate the array from user space the memory may be not continuous. 
> To get a single block, you have to allocate from kernel space by kmalloc.
> 
> 
> Note @John:
> 
> A user dealing with real world problems doesn't want to learn about kernel 
> driver details. When he can solve a problem by a simple command line like
> 
> sudo modprobe uio_pruss extram_pool_sz=0x12500
> 
> he'll prefer that solution.
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> <http://beagleboard.org/discuss>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/ff1e0d76-008f-42bd-a516-adc1a7feff99%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/beagleboard/ff1e0d76-008f-42bd-a516-adc1a7feff99%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CBC67D3C-C087-4128-9FF1-592C96254660%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to