Your new "behavior" flag isn't known by vm_map_simply_entry, so map simplification could drop the behavior setting on the floor. I would prefer that the behavior is folded into eflags.
Overall, I agree with the direction. Behavior is correctly a map attribute rather than an object attribute. Alan P.S. The MADV_FREE's by malloc/free were disabled by default in -CURRENT and -STABLE prior to the release of 3.2. They were a performance pessimization, slowing down "make world" by ~2%. To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message