On Tue, Oct 18, 2016 at 08:26:19PM +0200, Michal Hocko wrote: > On Tue 18-10-16 11:54:35, Aristeu Rozanski wrote: > > When kmem accounting switched from account by default to only account if > > flagged by __GFP_ACCOUNT, IPC mqueue and messages was left out. > > I guess this was because ipv msgqueue shouldn't allow for memory > consumption runaways. The number of message queues and messages pending > in them is bounded and not a large amount of memory AFAIR. Anyway I do > not see anything unreasonable about accounting the memory to the caller. It should be accounted because receiver may not intentionally or unintentionally consume messages. -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html