Re: [PATCH] pidns: limit a size of pid to one page

2012-10-11 Thread Andrew Morton
On Wed, 10 Oct 2012 14:24:14 +0400 Andrew Vagin wrote: > A size of pid depends on a level of pidns and now a level of pidns > is not limited, so it can be more than one page. > > Looks reasonable, that it should be limited to a page size. On x86_64 > it will allow to create 125 nested pid names

Re: [PATCH] pidns: limit a size of pid to one page

2012-10-11 Thread Oleg Nesterov
On 10/10, Andrew Vagin wrote: > > A size of pid depends on a level of pidns and now a level of pidns > is not limited, so it can be more than one page. > > Looks reasonable, that it should be limited to a page size. On x86_64 > it will allow to create 125 nested pid namespaces. I don't know a > u

[PATCH] pidns: limit a size of pid to one page

2012-10-10 Thread Andrew Vagin
A size of pid depends on a level of pidns and now a level of pidns is not limited, so it can be more than one page. Looks reasonable, that it should be limited to a page size. On x86_64 it will allow to create 125 nested pid namespaces. I don't know a usecase for which, it will be not enough. Wh