On Fri, 2011-12-02 at 14:05 -0600, David Boyes wrote: > > It's just mmap'ing the whole disk into the process's address space for the > > programmers sake. > > BAD idea (in the sense of 'broken as designed'). You're taxing the virtual > memory system in a shared-resource environment, which hurts the entire > environment for a little convenience in programming.
David, can you explain me how I'm "taxing" the VM? The mmap operation does not allocate a single physical page. If I remember right it does not even set up the page tables for the mapping. Jan > > If that turns out to be a problem we could theoretically go back to > > pread/pwrite. But I'm not sure how many users have such large CMS disks? > > Please do. Doesn't matter if it's an edge case, it shouldn't do this. > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/