Re: unused swap offset / bad page map.

From: Dave Jones
Date: Wed Aug 21 2013 - 16:49:16 EST


On Tue, Aug 20, 2013 at 12:39:05PM +0800, Hillf Danton wrote:
> On Tue, Aug 20, 2013 at 7:18 AM, Dave Jones <davej@xxxxxxxxxx> wrote:
>
> --- a/mm/memory.c Wed Aug 7 16:29:34 2013
> +++ b/mm/memory.c Tue Aug 20 11:13:06 2013
> @@ -933,8 +933,10 @@ again:
> if (progress >= 32) {
> progress = 0;
> if (need_resched() ||
> - spin_needbreak(src_ptl) || spin_needbreak(dst_ptl))
> + spin_needbreak(src_ptl) || spin_needbreak(dst_ptl)) {
> + BUG_ON(entry.val);
> break;
> + }
> }
> if (pte_none(*src_pte)) {
> progress++;

didn't hit the bug_on, but got a bunch of

[ 424.077993] swap_free: Unused swap offset entry 000187d5
[ 439.377194] swap_free: Unused swap offset entry 000187e7
[ 441.998411] swap_free: Unused swap offset entry 000187ee
[ 446.956551] swap_free: Unused swap offset entry 0000245f

Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/