Re: Some questions about high memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...

On Fri, Apr 6, 2012 at 09:19, loody <miloody@xxxxxxxxx> wrote:
> hi all:
> I am trying to write a driver for my block device which dma support
> high memory copying.
> I have register my device as "blk_bounce_any".
> But my driver cannot see block layer pass high memory to me so far.

perhaps because you need to kmap them first?

BTW, is it 32 bit or 64 bit Linux kernel?

> Is there any user/kernel test program which will purposely send high
> memory for driver to use?
> or is there any flag when opening a file in user mode that will use high memory?

I recheck mmap and mmap manual page and I found none of such flag

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux