vm_object.c (c6ec6a7caebd712ffac70508099aeb71f302f033) | vm_object.c (ed4fe4f4f5dd2ae7ef62e004a3e1bdd071b8fee6) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * The Mach Operating System project at Carnegie-Mellon University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 1216 unchanged lines hidden (view full) --- 1225 source->generation++; 1226 if (length < source->size) 1227 length = source->size; 1228 if (length > PQ_L2_SIZE / 3 + PQ_PRIME1 || 1229 source->generation > 1) 1230 length = PQ_L2_SIZE / 3 + PQ_PRIME1; 1231 result->pg_color = (source->pg_color + 1232 length * source->generation) & PQ_L2_MASK; | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * The Mach Operating System project at Carnegie-Mellon University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 1216 unchanged lines hidden (view full) --- 1225 source->generation++; 1226 if (length < source->size) 1227 length = source->size; 1228 if (length > PQ_L2_SIZE / 3 + PQ_PRIME1 || 1229 source->generation > 1) 1230 length = PQ_L2_SIZE / 3 + PQ_PRIME1; 1231 result->pg_color = (source->pg_color + 1232 length * source->generation) & PQ_L2_MASK; |
1233 result->flags |= source->flags & OBJ_NEEDGIANT; |
|
1233 VM_OBJECT_UNLOCK(source); 1234 next_index = (result->pg_color + PQ_L2_SIZE / 3 + PQ_PRIME1) & 1235 PQ_L2_MASK; 1236 } 1237 1238 1239 /* 1240 * Return the new things --- 911 unchanged lines hidden --- | 1234 VM_OBJECT_UNLOCK(source); 1235 next_index = (result->pg_color + PQ_L2_SIZE / 3 + PQ_PRIME1) & 1236 PQ_L2_MASK; 1237 } 1238 1239 1240 /* 1241 * Return the new things --- 911 unchanged lines hidden --- |