NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-arm/38950 (shark, hpcarm kernels prone to hard hangs on process exit)



The following reply was made to PR port-arm/38950; it has been noted by GNATS.

From: Rafal Boni <rafal%pobox.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-arm/38950 (shark,
 hpcarm kernels prone to hard hangs on process exit)
Date: Thu, 19 Jun 2008 23:31:38 -0400

 This just occurred to me after having filed this in the "I don't have 
 time to think about it right now" bin.  The issue here is that the pmap 
 code is using the last-active-lwp as a proxy for last-active-pmap.  What 
 we should do is just save the pmap pointed to by the last-active-lwp vs. 
 the lwp itself.
 
 What I'm not sure is if the responsibility should fall to cpu_switchto() 
 as currently, or if it should instead be done by the pmap -- perhaps 
 pmap_activate() itself.  Leaving it where it currently is the safe bet, 
 however.
 


Home | Main Index | Thread Index | Old Index