Re: [PATCH 13/17] watch_queue: Implement mount topology and attribute change notifications [ver #5]

From
David Howells <dhowells@redhat.com>
Date
2020-07-24 10:20:11
Also in
keyrings, linux-api, linux-fsdevel, lkml
Reply to
David Howells, 2020-07-23
David Howells [off-list ref] wrote:
quoted
What guarantees that mount_id is going to remain a 32bit entity?
You think it likely we'd have >4 billion concurrent mounts on a system?  That
would require >1.2TiB of RAM just for the struct mount allocations.

But I can expand it to __u64.
That said, sys_name_to_handle_at() assumes it's a 32-bit signed integer, so
we're currently limited to ~2 billion concurrent mounts:-/

David
Thread (45 messages) 45 messages, 4 authors, last reply 2020-08-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help