All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org, util-linux-ng@vger.kernel.org,
	linuxram@us.ibm.com, viro@ftp.linux.org.uk, hch@infradead.org,
	a.p.zijlstra@chello.nl
Subject: Re: [RFC][PATCH] VFS: create /proc/<pid>/mountinfo
Date: Sat, 19 Jan 2008 21:41:37 -0800	[thread overview]
Message-ID: <4792DF11.7040403@zytor.com> (raw)
In-Reply-To: <E1JGBVq-0002Or-H1@pomaz-ex.szeredi.hu>

Miklos Szeredi wrote:
> - for mount ID's use IDA (from the IDR library) instead of a 32bit
>   counter, which could overflow

IDAs tend to get reused quickly, which can cause race conditions.  Any 
reason not to just use a 64-bit counter?

	-hpa

  reply	other threads:[~2008-01-20  5:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-19 11:05 [RFC][PATCH] VFS: create /proc/<pid>/mountinfo Miklos Szeredi
2008-01-20  5:41 ` H. Peter Anvin [this message]
2008-01-20  8:23   ` Miklos Szeredi
2008-01-20  8:23     ` Miklos Szeredi
2008-01-23 13:49     ` Pavel Machek
2008-01-23 19:02       ` H. Peter Anvin
2008-01-23 19:32         ` Miklos Szeredi
2008-01-20 11:20 ` Jan Engelhardt
2008-01-20 12:20   ` Miklos Szeredi
2008-01-20 12:20     ` Miklos Szeredi
2008-01-21 19:48 ` Ram Pai
2008-01-21 19:48   ` Ram Pai
2008-01-21 21:25   ` Miklos Szeredi
2008-01-21 21:53     ` Ram Pai
2008-01-21 21:53       ` Ram Pai
2008-01-21 22:09       ` Miklos Szeredi
2008-01-21 22:09         ` Miklos Szeredi
2008-01-22 20:56         ` Serge E. Hallyn
2008-01-22 20:56           ` Serge E. Hallyn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4792DF11.7040403@zytor.com \
    --to=hpa@zytor.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=akpm@linux-foundation.org \
    --cc=hch@infradead.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxram@us.ibm.com \
    --cc=miklos@szeredi.hu \
    --cc=util-linux-ng@vger.kernel.org \
    --cc=viro@ftp.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.