Hi Paul, > The following adds one more bitmap operator, with the usual > cpumask and nodemask wrappers. This operator computes one > bitmap relative to another. If the n-th bit in the origin > mask is set, then the m-th bit of the destination mask will > be set, where m is the position of the n-th set bit in the > relative mask.
this patch is very interesting. BTW: Are you think this function name must be "relative" ? I think "relative" implies ordered set. but linux bitmap is abstraction of unordered set. if possible, i prefer another name. end up, bitmap_relative is map as pecial case, i think. > This is initially to be used by the MPOL_F_RELATIVE_NODES > facility being considered for mm/mempolicy.c. agreed with node_relative idea. I think this is very useful. Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/