Skip to contentSkip to conversation

/proc/meminfo:MemShared

DISCUSSION Andrew Morton 3 participants 3 messages Dec 16, 2002 Memory management

lore
Share & tools
lore
#1 lore raw
Quoted 2 lines · Andrew Morton

Can anyone think of anything useful to print out here, or should it just be removed?

It's not indicative of the sharing level, and it's been handing back 0 for a while, so I say kill it.

Bill
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/

#2 lore raw
In reply to Andrew Morton
Quoted 2 lines · Andrew Morton

Can anyone think of anything useful to print out here, or should it just be removed?

I'm in favour of just removing it. 2.4-ac went through a phase of reporting tmpfs' shmem_nrpages (in kB) there; but it was an entirely different meaning for MemShared, needs the releasepage infrastructure of 2.4-ac for proper accounting (which I've never cared to ask for in mainline); and 2.4.20-ac always says 0 like everyone else.

Hugh

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/