Re: [PATCH] Use atomic ops for file_nr accounting, not spinlock+irq

From: Andrew Morton
Date: Tue Apr 11 2006 - 18:03:41 EST


David Howells <dhowells@xxxxxxxxxx> wrote:
>
> Make the kernel use atomic operations for files_stat.nr_files accounting
> rather than using a spinlocked and interrupt-disabled critical section.

This code has all been redone in current kernels.
-
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/