public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Hancock <hancockr@shaw.ca>
To: Mark Hounschell <dmarkh@cfl.rr.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	Mark Hounschell <markh@compro.net>
Subject: Re: test_and_set_bit and friends ?
Date: Wed, 24 Oct 2007 08:24:36 -0600	[thread overview]
Message-ID: <471F55A4.8090604@shaw.ca> (raw)
In-Reply-To: <fa.9c/G28WUUK+ko/84Dr2THTV2Bls@ifi.uio.no>

Mark Hounschell wrote:
> Mark Hounschell wrote:
>> These calls apparently are gone. Can someone tell me why and what are
>> the replacements.
>>
>> Thanks in advance
>> Mark
>>
> 
> I got no response from the glibc people on this and the kernel-newbies
> list appears dead so I thought I'd try here since these calls are/were
> actually kernel based to begin with. Why are they no longer available in
> user space and what is one supposed to use now?

In general, none of the kernel synchronization-type functions should 
have been used in userspace since they often depend on infrastructure 
which is only in the kernel in order to work properly. The new headers 
installation system strips out any code intended for kernel use only 
from the userspace-visible headers.

(Not to mention the licensing issues - the kernel is GPL, not LGPL, so 
only GPL programs could have legally done so in the first place.)

-- 
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/


       reply	other threads:[~2007-10-24 14:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.qZKT99AD2hc7Jh4djYdvRApuWLw@ifi.uio.no>
     [not found] ` <fa.9c/G28WUUK+ko/84Dr2THTV2Bls@ifi.uio.no>
2007-10-24 14:24   ` Robert Hancock [this message]
     [not found] <471DC9E8.7040104@cfl.rr.com>
2007-10-24 11:02 ` test_and_set_bit and friends ? Mark Hounschell
2007-10-24 17:17   ` H. Peter Anvin

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=471F55A4.8090604@shaw.ca \
    --to=hancockr@shaw.ca \
    --cc=dmarkh@cfl.rr.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markh@compro.net \
    /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