From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: sysctl vs /proc/sys
Date: 12 Dec 2003 17:31:27 -0800 [thread overview]
Message-ID: <brdq5f$9sd$1@cesium.transmeta.com> (raw)
In-Reply-To: 20031213.094210.107050343.yoshfuji@linux-ipv6.org
Followup to: <20031213.094210.107050343.yoshfuji@linux-ipv6.org>
By author: YOSHIFUJI Hideaki / =?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?= <yoshfuji@linux-ipv6.org>
In newsgroup: linux.dev.kernel
>
> Yes, I meant to read old value and to set new one in one system call.
> The sysctl system-call does lock_kernel, so sysctl(2) sytem-call
> are serialized.
>
Dumb question... what do you need this for? sysctl is mostly used to
initialization-time stuff... In most cases you can use flock(),
probably, although that is advisory and not compulsory.
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
If you send me mail in HTML format I will assume it's spam.
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
next prev parent reply other threads:[~2003-12-13 1:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-12 12:58 sysctl vs /proc/sys YOSHIFUJI Hideaki / 吉藤英明
2003-12-12 13:20 ` James Morris
2003-12-12 13:46 ` YOSHIFUJI Hideaki / 吉藤英明
2003-12-12 14:28 ` James Morris
2003-12-12 18:15 ` Mike Fedyk
2003-12-13 0:42 ` YOSHIFUJI Hideaki / 吉藤英明
2003-12-13 1:31 ` H. Peter Anvin [this message]
2003-12-13 2:06 ` Linux Kernel 2.6.0-test11 VFS problem Ananda Bhattacharya
2003-12-13 2:30 ` Mike Fedyk
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='brdq5f$9sd$1@cesium.transmeta.com' \
--to=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox