On Sep 29, 2011, at 12:52 AM, Matt Thomas wrote:
Module Name: src
Committed By: matt
Date: Wed Sep 28 22:52:16 UTC 2011
Modified Files:
src/sys/uvm: uvm_page.c uvm_pager.c uvm_pager.h
Log Message:
Reallocate emergency pager va when ncolors is increased. (modication of
Jukka Ruohonen wrote:
What are the options to handle cases like this?
While looking for examples, I also noticed few bugs where the possibly
blocking kmem_free(9) is used while holding a mutex (e.g. ras_purgeall() in
kern_ras.c).
Disclaimer: I'm a complete newbie in this area.
Blocking
On 29.09.2011 22:05, Alexander Nasonov wrote:
Jukka Ruohonen wrote:
What are the options to handle cases like this?
While looking for examples, I also noticed few bugs where the possibly
blocking kmem_free(9) is used while holding a mutex (e.g. ras_purgeall() in
kern_ras.c).
Disclaimer: I'm
Jukka Ruohonen wrote:
+If the backend operates with a simple boolean switch
+without knowing the clock frequencies, the
+.Fa cfs_freq
+field should be set to
+.Dv CPUFREQ_STATE_ENABLED
+or
+.Dv CPUFREQ_STATE_DISABLED .
Elements must go in descendant order but since values of
On Thu, Sep 29, 2011 at 10:51:25PM +0200, Jean-Yves Migeon wrote:
Blocking kmem is not necessarily a bug is you hold an adaptive lock.
Your mutex is IPL_NONE, if I remember correctly. You probably don't need
to be smart.
I am not sure that this lock will be released if the LWP needs to sleep
On Thu, Sep 29, 2011 at 10:56:48PM +0100, Alexander Nasonov wrote:
Elements must go in descendant order but since values of
CPUFREQ_STATE_DISABLED and CPUFREQ_STATE_ENABLED are unspecified,
the manual should explicitly state in which order these two states
should go.
True.
Every time you
On Sep 29, 2011, at 12:52 AM, Matt Thomas wrote:
Module Name:src
Committed By: matt
Date: Wed Sep 28 22:52:16 UTC 2011
Modified Files:
src/sys/uvm: uvm_page.c uvm_pager.c uvm_pager.h
Log Message:
Reallocate emergency pager va when ncolors
Module Name:src
Committed By: matt
Date: Wed Sep 28 22:52:16 UTC 2011
Modified Files:
src/sys/uvm: uvm_page.c uvm_pager.c uvm_pager.h
Log Message:
Reallocate emergency pager va when ncolors is increased. (modication of
patch from mrg).
This