the bitrig master branch has been updated by pedro with 6 new commits:

commit 6be0665c075f025191ad7061c4f8996018b8521a
diff: https://github.com/bitrig/bitrig/commit/6be0665
author: Pedro Martelletto <[email protected]>
date: Sat Mar 21 08:14:44 2015 +0100

Be explicit about the truncation of 'stopslot' in amap_pp_adjref().

Plus some whitespace.

OK natano@.

M       sys/uvm/uvm_amap.c

commit d2299a016121b5ba8cff8cd96a0760ebb355148f
diff: https://github.com/bitrig/bitrig/commit/d2299a0
author: Pedro Martelletto <[email protected]>
date: Sat Mar 21 08:10:48 2015 +0100

Change amap_unref() to receive its offset parameter as an int.

It is only called from two places, with an int as the parameter. This
makes it clearer that the function expects an int, and not a vaddr_t
(unsigned long).

OK natano@.

M       sys/uvm/uvm_amap.c
M       sys/uvm/uvm_amap.h

commit eee390495a845b237572056cb21b5b8475baecf4
diff: https://github.com/bitrig/bitrig/commit/eee3904
author: Pedro Martelletto <[email protected]>
date: Sat Mar 21 08:06:28 2015 +0100

Change amap_ref() to receive its offset parameter as an int.

It is only called from one place, with an int as the parameter. This
makes it clearer that the function expects an int, and not a vaddr_t
(unsigned long).

OK natano@.

M       sys/uvm/uvm_amap.c
M       sys/uvm/uvm_amap.h

commit 0101b5d7f8e76ff94f79f80f11acb5be4592fc6c
diff: https://github.com/bitrig/bitrig/commit/0101b5d
author: Pedro Martelletto <[email protected]>
date: Sat Mar 21 07:45:15 2015 +0100

Add two casts for clarity. OK natano@.

M       sys/uvm/uvm_amap.c

commit 19e7809e901475c2bad324fd77b0a6655ea179e8
diff: https://github.com/bitrig/bitrig/commit/19e7809
author: Pedro Martelletto <[email protected]>
date: Fri Mar 20 20:25:32 2015 +0100

Turn AMAP_B2SLOT() into an inline function.

This enforces type checking and gets us rid of silent truncations from
vaddr_t to int.

OK natano@.

M       sys/uvm/uvm_amap.c
M       sys/uvm/uvm_amap.h

commit 3a8333babdaff374f8ae33d78acf61fec53b2c03
diff: https://github.com/bitrig/bitrig/commit/3a8333b
author: Pedro Martelletto <[email protected]>
date: Fri Mar 20 20:22:34 2015 +0100

Make amap_list_{insert,remove} C99 inline functions.

OK natano@.

M       sys/uvm/uvm_amap.c

Reply via email to