mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* get_swap_bio() question
@ 2006-08-11 21:32 Rafael J. Wysocki
  2006-08-13  0:23 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Rafael J. Wysocki @ 2006-08-11 21:32 UTC (permalink / raw)
  To: LKML

Hi,

I'm looking at get_swap_bio() in mm/page_io.c and wonder why the result of
map_swap_page() in there is multiplied by (PAGE_SIZE >> 9).  Is it the block
size of 512 B hardcoded?  And if so, is that actually right (I mean, aren't there
any block devices with different block sizes)?

Rafael

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

end of thread, other threads:[~2006-08-13  0:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-11 21:32 get_swap_bio() question Rafael J. Wysocki
2006-08-13  0:23 ` Andrew Morton

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

all inboxes | Powered by JetHome®