git: kernel - Fix bug in recent swap/paging work

Matthew Dillon dillon at apollo.backplane.com
Mon Jan 25 07:36:15 PST 2010


:
:On 1/23/10 07:52 AM, YONETANI Tomokazu wrote:
:>                                                   except
:> for changing the variable `i' when swap_burst_read is set.
:
:This part was wrong, `++i' never gets executed because of
:`break', so i is always set to 1.

    Oops, I meant to remove that break.  The break was part
    of the original debug code.  I replaced it with the
    swap_burst_read test and meant to remove the break.

    It won't hurt master, it just means the VM system won't
    burst pageins from swap even if swap_burst_read is set
    to 1 for the moment.

    I'll retest w/ burst_read set to 1 and the break removed
    before I commit the fix.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Commits mailing list