login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
5
Re: [patch 1/5] vmalloc: do not check for freed locks on user maps
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Nick Piggin
Subject:
Re: [patch 1/5] vmalloc: do not check for freed locks on user maps
Date: Wednesday, March 5, 2008 - 3:56 pm
On Thursday 06 March 2008 04:20, Thomas Gleixner wrote:
quoted text
> On Thu, 6 Mar 2008, Nick Piggin wrote: > > On Thursday 06 March 2008 03:03, Thomas Gleixner wrote: > > > User maps do not contain kernel internal objects. No need to check > > > them. > > > > Why not? Depends on your definition of kernel internal... and > > objects ;) > > > > Drivers could create and manage some objects in this vmalloc > > area. They are no longer internal if you map them to userspace, > > but I still don't think you want to vunmap it until those > > object lifetimes are finished. > > Well, in case of the locks I have a hard time to figure out how you > use a spinlock/mutex with a user space address. The same applies for > timers or other objects used by kernel subsystems. So when the driver > writer creates an kernel related object in the vmalloc space, he has > to use the kernel mapping which is unmapped separate, right ?
This is the kernel mapping. The user mapping is unmapped when the userspace munmaps.
quoted text
> I can see your concern about the infinite stu^H^H^Hcreativity of > driver writers, but I prefer not to go down that road and provide > debug infrastructure for absurdities.
--
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 1/5] vmalloc: do not check for freed locks on user maps
, Thomas Gleixner
, (Wed Mar 5, 9:03 am)
Re: [patch 1/5] vmalloc: do not check for freed locks on u ...
, Nick Piggin
, (Wed Mar 5, 9:28 am)
Re: [patch 1/5] vmalloc: do not check for freed locks on u ...
, Thomas Gleixner
, (Wed Mar 5, 10:20 am)
Re: [patch 1/5] vmalloc: do not check for freed locks on u ...
, Nick Piggin
, (Wed Mar 5, 3:56 pm)
Re: [patch 1/5] vmalloc: do not check for freed locks on u ...
, Thomas Gleixner
, (Wed Mar 5, 4:31 pm)
Re: [patch 1/5] vmalloc: do not check for freed locks on u ...
, Nick Piggin
, (Wed Mar 5, 7:34 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #16136] Linux 2.6.34 causes system lockup on Compaq Presario 2200 Laptop
Joerg Roedel
Re: [patch] dma-debug: off by one issue
Tetsuo Handa
Re: [AppArmor #7 0/13] AppArmor security module
Pekka Enberg
Re: BUG in free_block (tainted)
Jakub Narebski
Re: [PATCH] gitweb: Fix shortlog only showing HEAD revision.
git
:
Christian Stimming
git-gui: Fix broken revert confirmation.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Junio C Hamano
Re: git-svnimport
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Amit Kumar Salecha
[PATCH NEXT 10/10] qlcnic: add cksum flag
Patrick McHardy
Re: [PATCH RESEND 1/3] netfilter: xtables: inclusion of xt_condition
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
ALSA: snd-usb-caiaq: Do not expose hardware input mode 0 of A4DJ
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
V4L/DVB (9041): Add support YUAN High-Tech STK7700D (1164:1f08)
openbsd-misc
:
Conor
Re: RFID Reader
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Stuart Henderson
Re: SquidGuard problem
Henning Brauer
Re: 3ware hardware raid support?
Ryan McBride
Re: Packets Per Second Limit?
Colocation donated by:
Syndicate