login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
December
»
29
Re: [PATCH v0] add nano semaphore in kernel
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Hillf Danton
Subject:
Re: [PATCH v0] add nano semaphore in kernel
Date: Wednesday, December 29, 2010 - 8:03 am
On Wed, Dec 29, 2010 at 10:58 PM, Daniel Walker <dwalker@codeaurora.org> wrote:
quoted text
> On Wed, 2010-12-29 at 22:42 +0800, Hillf Danton wrote: >> On Wed, Dec 29, 2010 at 7:47 PM, Arnd Bergmann <arnd@arndb.de> wrote: >> > On Tuesday 28 December 2010 16:51:30 Daniel Walker wrote: >> >> We for sure don't want new semaphores, or new semaphore usage in the >> >> kernel .. >> >> Would you please, Daniel, explain why there are so my file systems under >> the fs directory? Would you think the ext file system is better than others? >> >> And why there are in kernel spin lock, read/write lock, mutex, rw_mutex, >> rtmutx, and semaphore, timer and hrtimer? >> >> Could timer be removed tonight? > > The problem with semaphores is that people use them in ways that are not > very nice, and not very efficient.. Since they are so flexible they can > be used in all sorts of ways, many of which are not clean. This is why, > if you read the kernel history, most semaphore have been removed from > the kernel and replaced with much nicer and cleaner mutexes. > > Daniel
Thanks for sharing the knowledge about rtmutx and semaphore. Hillf --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH v0] add nano semaphore in kernel
, Hillf Danton
, (Sat Dec 25, 10:13 pm)
Re: [PATCH v0] add nano semaphore in kernel
, Rakib Mullick
, (Sat Dec 25, 11:46 pm)
Re: [PATCH v0] add nano semaphore in kernel
, Hillf Danton
, (Sun Dec 26, 12:04 am)
Re: [PATCH v0] add nano semaphore in kernel
, Rakib Mullick
, (Sun Dec 26, 2:08 am)
Re: [PATCH v0] add nano semaphore in kernel
, Hillf Danton
, (Sun Dec 26, 5:05 am)
Re: [PATCH v0] add nano semaphore in kernel
, Rakib Mullick
, (Sun Dec 26, 5:56 am)
Re: [PATCH v0] add nano semaphore in kernel
, Hillf Danton
, (Mon Dec 27, 7:04 am)
Re: [PATCH v0] add nano semaphore in kernel
, Randy Dunlap
, (Mon Dec 27, 1:08 pm)
Re: [PATCH v0] add nano semaphore in kernel
, Arnd Bergmann
, (Mon Dec 27, 2:15 pm)
Re: [PATCH v0] add nano semaphore in kernel
, Hillf Danton
, (Tue Dec 28, 6:13 am)
Re: [PATCH v0] add nano semaphore in kernel
, Daniel Walker
, (Tue Dec 28, 8:51 am)
Re: [PATCH v0] add nano semaphore in kernel
, Arnd Bergmann
, (Wed Dec 29, 4:47 am)
Re: [PATCH v0] add nano semaphore in kernel
, Hillf Danton
, (Wed Dec 29, 7:42 am)
Re: [PATCH v0] add nano semaphore in kernel
, Hillf Danton
, (Wed Dec 29, 7:57 am)
Re: [PATCH v0] add nano semaphore in kernel
, Daniel Walker
, (Wed Dec 29, 7:58 am)
Re: [PATCH v0] add nano semaphore in kernel
, Hillf Danton
, (Wed Dec 29, 8:03 am)
Re: [PATCH v0] add nano semaphore in kernel
, Arnd Bergmann
, (Wed Dec 29, 12:16 pm)
Re: [PATCH v0] add nano semaphore in kernel
, Hillf Danton
, (Thu Dec 30, 7:21 am)
Re: [PATCH v0] add nano semaphore in kernel
, Arnd Bergmann
, (Thu Dec 30, 8:56 am)
Re: [PATCH v0] add nano semaphore in kernel
, Pavel Machek
, (Tue Jan 4, 7:03 am)
Re: [PATCH v0] add nano semaphore in kernel
, Hillf Danton
, (Tue Jan 4, 7:18 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jesse Barnes
Re: [stable] [BUG][PATCH] cpqphp: fix kernel NULL pointer dereference
Greg KH
[003/136] p54usb: add Zcomax XG-705A usbid
Magnus Damm
[PATCH 03/07] ARM: Use shared GIC entry macros on Realview
Oliver Neukum
Re: [Bug #13682] The webcam stopped working when upgrading from 2.6.29 to 2.6.30
Martin Schwidefsky
Re: [PATCH] optimized ktime_get[_ts] for GENERIC_TIME=y
git
:
Junio C Hamano
Re: Some advanced index playing
Jeff King
Re: confusion over the new branch and merge config
Robin Rosenberg
Re: cvs2svn conversion directly to git ready for experimentation
Linus Torvalds
git binary size...
Ævar Arnfjörð Bjarmason
Re: Challenge with Git-Bash
git-commits-head
:
Linux Kernel Mailing List
md: move allocation of ->queue from mddev_find to md_probe
Linux Kernel Mailing List
md: raid0: Represent zone->zone_offset in sectors.
Linux Kernel Mailing List
[ARM] S3C24XX: Add gpio_to_irq() facility
Linux Kernel Mailing List
md: raid0_make_request(): Replace local variable block by sector.
Linux Kernel Mailing List
md: Allow md devices to be created by name.
linux-netdev
:
kaber
[PATCH 07/12] netfilter: xtables: change hotdrop pointer to direct modification
Gerrit Renker
[PATCH 3/5] dccp ccid-2: Remove redundant sanity tests
David Miller
Re: [PATCH net-next-2.6] pcnet32: Remove redundant set of skb->dev
Gerrit Renker
[PATCH 4/5] dccp ccid-2: Simplify dec_pipe and rearming of RTO timer
Saikiran Madugula
[PATCH] Allow fragmentation of VLAN packets traversing a bridge.
freebsd-current
:
Ryan Stone
Re: Re[3]: [Call For Testing] VirtualBox for F