Source-Changes-D archive

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

Re: CVS commit: src/sys/arch/xen/xen



"Cherry G. Mathew" <cherry.g.mathew%gmail.com@localhost> wrote:
> >>> On Mon, Apr 18, 2011 at 03:04:32AM +0000, Mindaugas Rasiukevicius
> >>> wrote:
> >>> > Module Name:        src
> >>> > Committed By:       rmind
> >>> > Date:               Mon Apr 18 03:04:31 UTC 2011
> >>> >
> >>> > Modified Files:
> >>> >     src/sys/arch/xen/xen: balloon.c
> >>> >
> >>> > Log Message:
> >>> > balloon_xenbus_attach: use KM_SLEEP for allocation.
> >>> >
> >>> > Note: please do not use KM_NOSLEEP.
> >>>
> >>> And, according to yamt@, KM_SLEEP can fail in the current design...
> >>
> >> IIRC yamt@ fixed it a year or few ago.
> >>
> >
> > And in the more specific immediate context:
> > http://mail-index.netbsd.org/port-xen/2011/04/07/msg006613.html
> >
> >
> 
> Hi,
> 
> PS: Can you please revert ? Unless it's breaking anything else, or you
> have a fix for the problem mentioned in the thread above, ie;

Change is for balloon_xenbus_attach(), which is irrelevant to the issue
described in that email.

Are you aware that KM_NOSLEEP might fail not only because there is no
memory (or KVA) available, though?

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index