login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
freebsd-current
»
2010
»
November
»
8
Re: radeon_cp_texture: page fault with non-sleepable locks held
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Kostik Belousov
Subject:
Re: radeon_cp_texture: page fault with non-sleepable locks held
Date: Monday, November 8, 2010 - 7:50 am
On Mon, Nov 08, 2010 at 04:28:54PM +0200, Andriy Gapon wrote:
quoted text
> on 08/11/2010 16:22 Nathan Whitehorn said the following: > > > > The other issue is that this can be a legal thing to do. If you have taken care to > > wire the userland buffers ahead of time, there is no problem copying > > copyin()/copyout() with sleepable locks held. The sysctl code does this. As such, > > you can't check for problems by panicing if sleepable locks are held. > > Nathan, > > very good point, thank you. > BTW, perhaps drm should be doing the same? > It seems that there are quite a few copyin/copyout calls (disguised with macros) > in e.g. sys/dev/drm/radeon_state.c and likely all of them are under dev_lock. > So it would be painful to add unlock+lock around each such call.
This would be a DoS, due to the size of the buffers.
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
radeon_cp_texture: page fault with non-sleepable locks held
, Andriy Gapon
, (Fri Nov 5, 12:27 am)
Re: radeon_cp_texture: page fault with non-sleepable locks ...
, Andriy Gapon
, (Mon Nov 8, 4:50 am)
Re: radeon_cp_texture: page fault with non-sleepable locks ...
, Kostik Belousov
, (Mon Nov 8, 5:04 am)
Re: radeon_cp_texture: page fault with non-sleepable locks ...
, Andriy Gapon
, (Mon Nov 8, 5:07 am)
Re: radeon_cp_texture: page fault with non-sleepable locks ...
, Kostik Belousov
, (Mon Nov 8, 5:26 am)
Re: radeon_cp_texture: page fault with non-sleepable locks ...
, Andriy Gapon
, (Mon Nov 8, 6:06 am)
Re: radeon_cp_texture: page fault with non-sleepable locks ...
, Kostik Belousov
, (Mon Nov 8, 6:16 am)
Re: radeon_cp_texture: page fault with non-sleepable locks ...
, Nathan Whitehorn
, (Mon Nov 8, 7:22 am)
Re: radeon_cp_texture: page fault with non-sleepable locks ...
, Andriy Gapon
, (Mon Nov 8, 7:28 am)
Re: radeon_cp_texture: page fault with non-sleepable locks ...
, Kostik Belousov
, (Mon Nov 8, 7:50 am)
Re: radeon_cp_texture: page fault with non-sleepable locks ...
, Andriy Gapon
, (Tue Nov 9, 2:25 am)
Re: radeon_cp_texture: page fault with non-sleepable locks ...
, Kostik Belousov
, (Tue Nov 9, 7:05 am)
Re: radeon_cp_texture: page fault with non-sleepable locks ...
, Andriy Gapon
, (Tue Nov 9, 10:18 pm)
Re: radeon_cp_texture: page fault with non-sleepable locks ...
, Kostik Belousov
, (Wed Nov 10, 1:34 am)
Re: radeon_cp_texture: page fault with non-sleepable locks ...
, Andriy Gapon
, (Thu Nov 11, 4:27 am)
Re: radeon_cp_texture: page fault with non-sleepable locks ...
, Andriy Gapon
, (Fri Nov 12, 3:54 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Hugh Dickins
Re: Linux 2.6.26-rc1 - pgtable_32.c:178 pmd_bad
Bernhard Beck
[PATCH 001/001] usb-serial: Add ThinkOptics WavIT
Oleg Nesterov
Re: [PATCH 4/5] don't panic if /sbin/init exits or killed
Greg KH
[patch 07/21] rtc-pcf8563: detect polarity of century bit automatically
git
:
Jonathan del Strother
Re: [PATCH] Fixing path quoting issues
Gerrit Pape
[PATCH] fix skipping merge-order test with NO_OPENSSL=1.
Linus Torvalds
Re: Implementing branch attributes in git config
Johannes Schindelin
Re: Trying to use git-filter-branch to compress history by removing large, obsolet...
Gerrit Pape
[PATCH] hooks--update: fix test for properly set up project description file
linux-netdev
:
David Miller
Re: [PATCH 04/15] tg3: Preserve LAA when device control is released
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Sven Wegener
[PATCH] ipvs: Add missing locking during connection table hashing and unhashing
David Miller
Re: [PATCH] qlcnic: dont assume NET_IP_ALIGN is 2
Stephen Hemminger
[PATCH 2/2] sky2: fix transmit state on resume
git-commits-head
:
Linux Kernel Mailing List
[SCSI] scsi ioctl: fix kernel-doc warning
Linux Kernel Mailing List
ALSA: HDA - Correct trivial typos in comments.
Linux Kernel Mailing List
i2c-viapro: Add support for SMBus Process Call transactions
Linux Kernel Mailing List
i2c: Documentation: upgrading clients HOWTO
Linux Kernel Mailing List
[PATCH] fix sysctl_nr_open bugs
openbsd-misc
:
Die Gestalt
Re: How to re-build openssl with SHA1 support?
Edwin Eyan Moragas
Re: managing routes for multiple PPPoE connections
Brian Candler
Re: OBSD's perspective on SELinux
Jonathan Schleifer
Why is getaddrinfo breaking POSIX?
Predrag Punosevac
Re: Kernel developers guide/tutorial
Colocation donated by:
Syndicate