Linux MIPS Architecture development
 help / color / mirror / Atom feed
* is remap_pfn_range should align to 2(n) * (page size) ?
@ 2008-05-09  6:54 zhuzhenhua
  2008-05-09  9:56 ` Ralf Baechle
  0 siblings, 1 reply; 8+ messages in thread
From: zhuzhenhua @ 2008-05-09  6:54 UTC (permalink / raw)
  To: linux-mips

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

hello all
           i have a sensor driver want to malloc 2.xM SDRAM to capture
data(using DMA),  so i used  remap_pfn_range to malloc 3M.
But in /proc/meminfo, it showes free memory reduce 4M. i also check the
/proc/buddyinfo, it seemes too.
(i am looking inside kernel code, but not get clear at now).

 is remap_pfn_range should align to  2(n) * (page size) ?

thanks for any hints

zzh

[-- Attachment #2: Type: text/html, Size: 500 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-05-14  7:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-09  6:54 is remap_pfn_range should align to 2(n) * (page size) ? zhuzhenhua
2008-05-09  9:56 ` Ralf Baechle
2008-05-12  2:18   ` zhuzhenhua
2008-05-12 11:22     ` Ralf Baechle
2008-05-13 11:44       ` zhuzhenhua
2008-05-13 17:23         ` Ralf Baechle
2008-05-14  1:19           ` zhuzhenhua
2008-05-14  7:33             ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox