These are just instrumentation. If they're a bit inaccurate nobody cares,
and they're not worth locking.
So yes, that is a positive.
> The final one is in
> linux-2.5.62/mm/swapfile.c:213:swap_entry_free
> which seems to increment
> nr_swap_pages++;
> without a lock.
swap_entry_free() is called after swap_info_get(), which locks the swap
device list and the particular swap device.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/