Skip to content

vmevent: Implement 'low memory' attribute

Anton Vorontsov linux-mm lkml 1 version In review

Get series with b4
b4 am 20120501132409.GA22894@lizard

Versions newest first

  1. v1 Latest3 patches 28 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vmevent: Implement equal-to attribute stateinclude/linux/vmevent.h mm/vmevent.c+20 -80 replies
2/3vmevent: Pass attr argument to sampling functionsmm/vmevent.c+9 -50 replies
3/3vmevent: Implement special low-memory attributeinclude/linux/vmevent.h mm/vmevent.c tools/testing/vmevent/vmevent-test.c+58 -187 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] vmevent: Implement 'low memory' attribute

Hi all,

Accounting only free pages is very inaccurate for low memory handling, so we have to be smarter here.

The patch set implements a new attribute, which is blended from various memory statistics. Vmevent can't expose all the kernel internals to the userland, as it would make internal Linux MM representation tied to the ABI. So the ABI itself was made very simple: just number of pages before we consider that we're low on memory, and the kernel takes care of the rest.

Thanks,

Signature · 9 lines
Anton Vorontsov
Email: [email protected]

--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>