Re: [Lse-tech] [PATCH] new bitmap list format (for cpusets)

From: Paul Jackson
Date: Thu Aug 05 2004 - 16:51:58 EST


Martin asks:
> Can't we just do this up in userspace, ...

Aha - I was expecting this question. Howdy.

We could, I suppose (do this fancy bitmap formatting in userland).

It's certainly been a pleasure to Simon Derr, Sylvain Jeaugey and
myself, over the last six months, to be able to easily manipulate
these big masks using classic Unix commands like cat and echo.

The ability to atomically update a mask is unique to this interface.
The existing bitmap_parse/bitmap_scnprintf interface only allows
for a complete rewrite, not atomically adding or removing a node.

However, I am not aware of a reason why we need the atomic update.

Simon ... could you comment on this, and perhaps better motivate
this new bitmap list format?

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
-
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/