public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* mmap() of /dev/kmem issue
@ 2004-05-04 16:30 Mario Smarduch
  2004-05-04 17:05 ` Bjorn Helgaas
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: Mario Smarduch @ 2004-05-04 16:30 UTC (permalink / raw)
  To: linux-ia64

I have problem of viewing memory contents via mmap()
of /dev/kmem. After mmap()'ing /dev/kmem for reading
it appears that data accessed in the kernel lives in
different cache lines from data accessed in the user space.
The lseek()/read() from kernel reflects latest updates,
but same reads from user space mmap fetches old data, and
vice versa when updating from user. When I flush the
caches (cat of a big file to another file), then user mapped
value reflects the latest changes but then again remains
frozen. I'm having trouble understanding how can this
happen since the caches are physically indexed.
Any ideas what the problem could be?

- Mario.


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

end of thread, other threads:[~2004-05-05 16:57 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-04 16:30 mmap() of /dev/kmem issue Mario Smarduch
2004-05-04 17:05 ` Bjorn Helgaas
2004-05-04 17:19 ` Grant Grundler
2004-05-04 18:12 ` Mario Smarduch
2004-05-04 20:29 ` Grant Grundler
2004-05-04 22:15 ` Mario Smarduch
2004-05-04 22:27 ` Mario Smarduch
2004-05-04 23:59 ` Grant Grundler
2004-05-05 14:57 ` Mario Smarduch
2004-05-05 15:08 ` Luck, Tony
2004-05-05 15:36 ` Grant Grundler
2004-05-05 15:44 ` Matthew Wilcox
2004-05-05 15:49 ` Mario Smarduch
2004-05-05 15:53 ` Mario Smarduch
2004-05-05 16:07 ` Matthew Wilcox
2004-05-05 16:18 ` Chris Wedgwood
2004-05-05 16:32 ` Mario Smarduch
2004-05-05 16:42 ` Mario Smarduch
2004-05-05 16:44 ` Luck, Tony
2004-05-05 16:57 ` Mario Smarduch

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