fa_lru.cc (6978:ab05e20dc4a7) fa_lru.cc (7612:917946898102)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 272 unchanged lines hidden (view full) ---

281 flags &=~(1 << j);
282 boundary = boundary<<1;
283 ++j;
284 }
285 blk = blk->next;
286 }
287 return true;
288}
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 272 unchanged lines hidden (view full) ---

281 flags &=~(1 << j);
282 boundary = boundary<<1;
283 ++j;
284 }
285 blk = blk->next;
286 }
287 return true;
288}
289
290void
291FALRU::clearLocks()
292{
293 for (int i = 0; i < numBlocks; i++){
294 blks[i].clearLoadLocks();
295 }
296}