login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
26
Re: sparc64 BUG: using smp_processor_id() in preemptible
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Mariusz Kozlowski
Subject:
Re: sparc64 BUG: using smp_processor_id() in preemptible
Date: Wednesday, March 26, 2008 - 5:10 am
Hello,
quoted text
> From: Mariusz Kozlowski <m.kozlowski@tuxland.pl> > Date: Wed, 26 Mar 2008 12:46:53 +0100 > > > Ok it worked. Now I get a bunch of these: > > > > BUG: using smp_processor_id() in preemptible [00000000] code: pidof/2471 > > caller is flush_ptrace_access+0xc0/0x1a0 > > Here ya go: > > commit f6a843d939ade435e060d580f5c56d958464f8a5 > Author: David S. Miller <davem@davemloft.net> > Date: Wed Mar 26 04:51:12 2008 -0700 > > [SPARC64]: flush_ptrace_access() needs preemption disable. > > Based upon a report by Mariusz Kozlowski. > > Signed-off-by: David S. Miller <davem@davemloft.net> > > diff --git a/arch/sparc64/kernel/ptrace.c b/arch/sparc64/kernel/ptrace.c > index bcf58ec..aaae865 100644 > --- a/arch/sparc64/kernel/ptrace.c > +++ b/arch/sparc64/kernel/ptrace.c > @@ -70,6 +70,8 @@ void flush_ptrace_access(struct vm_area_struct *vma, struct page *page, > if (tlb_type == hypervisor) > return; > > + preempt_disable(); > + > #ifdef DCACHE_ALIASING_POSSIBLE > /* If bit 13 of the kernel address we used to access the > * user page is the same as the virtual address that page > @@ -108,6 +110,8 @@ void flush_ptrace_access(struct vm_area_struct *vma, struct page *page, > for (; start < end; start += icache_line_size) > flushi(start); > } > + > + preempt_enable(); > } > > enum sparc_regset {
And this one also worked. Now I have a nice clean dmesg :) Thanks, Mariusz --
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:
Linux 2.6.25-rc7
, Linus Torvalds
, (Tue Mar 25, 7:07 pm)
sparc64 BUG: using smp_processor_id() in preemptible
, Mariusz Kozlowski
, (Wed Mar 26, 3:42 am)
Re: sparc64 BUG: using smp_processor_id() in preemptible
, David Miller
, (Wed Mar 26, 4:16 am)
Re: sparc64 BUG: using smp_processor_id() in preemptible
, David Miller
, (Wed Mar 26, 4:25 am)
Re: sparc64 BUG: using smp_processor_id() in preemptible
, Mariusz Kozlowski
, (Wed Mar 26, 4:46 am)
Re: sparc64 BUG: using smp_processor_id() in preemptible
, David Miller
, (Wed Mar 26, 4:51 am)
Re: Linux 2.6.25-rc7 sparc64 loops forever on cat /proc/<p ...
, Mariusz Kozlowski
, (Wed Mar 26, 5:02 am)
Re: sparc64 BUG: using smp_processor_id() in preemptible
, Mariusz Kozlowski
, (Wed Mar 26, 5:10 am)
Re: Linux 2.6.25-rc7 sparc64 loops forever on cat /proc/<p ...
, David Miller
, (Wed Mar 26, 5:35 pm)
Re: sparc64 BUG: using smp_processor_id() in preemptible
, Andrew Morton
, (Wed Mar 26, 8:25 pm)
Re: sparc64 BUG: using smp_processor_id() in preemptible
, David Miller
, (Wed Mar 26, 11:33 pm)
Re: Linux 2.6.25-rc7 sparc64 loops forever on cat /proc/<p ...
, Mariusz Kozlowski
, (Fri Mar 28, 4:33 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 01/75] platform: prefix MODALIAS with "platform:"
stephane eranian
Re: perf_counters issue with PERF_SAMPLE_GROUP
Eric Sandeen
Re: [PATCH] xfs: do not pass unused params to xfs_flush_pages
Daniel Hazelton
Re: x86: 4kstacks default
Mathieu Desnoyers
Re: Linux 2.6.25-rc2
git
:
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Junio C Hamano
Re: [PATCH] http-push: making HTTP push more robust and more user-friendly
Oliver Kullmann
Re: how to move with history?
Alex Riesen
Re: git exclude patterns for directory
Andreas Ericsson
Re: why not TortoiseGit
linux-netdev
:
Andi Kleen
Re: RFC: Nagle latency tuning
Herbert Xu
Re: Oops in tun: bisected to Limit amount of queued packets per device
gregkh
Patch "IPv6: keep route for tentative address" has been added to the 2.6.34-stable...
Patrick McHardy
Re: [rfc 02/13] [RFC 02/13] netfilter: nf_conntrack_sip: Add callid parser
Krzysztof Oledzki
Re: Error: an inet prefix is expected rather than "0/0".
git-commits-head
:
Linux Kernel Mailing List
sh: Fix compile error by operands(mov.l) in sh3/entry.S
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
tmpfs: depend on shmem
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
Staging: et131x: prune all the debug code
openbsd-misc
:
Andres Salazar
About priorities in /etc/resolv.conf
Tonnerre LOMBARD
Re: bge0: watchdog timeout
ropers
Re: Real men don't attack straw men
Damien Miller
Re: Patching a SSH 'Weakness'
Tony Abernethy
Re: The Atheros story in much fewer words
Colocation donated by:
Syndicate