vm_object.c (2309fa9b92ac8a2a445273aa52e9986c08c6d39c) vm_object.c (44f1c916109d4d88941d257b7c4c96c26ab55477)
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

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

1952 goto next;
1953 pmap_remove_all(p);
1954 /* Account for removal of wired mappings. */
1955 if (wirings != 0) {
1956 KASSERT(p->wire_count == wirings,
1957 ("inconsistent wire count %d %d %p",
1958 p->wire_count, wirings, p));
1959 p->wire_count = 0;
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

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

1952 goto next;
1953 pmap_remove_all(p);
1954 /* Account for removal of wired mappings. */
1955 if (wirings != 0) {
1956 KASSERT(p->wire_count == wirings,
1957 ("inconsistent wire count %d %d %p",
1958 p->wire_count, wirings, p));
1959 p->wire_count = 0;
1960 atomic_subtract_int(&cnt.v_wire_count, 1);
1960 atomic_subtract_int(&vm_cnt.v_wire_count, 1);
1961 }
1962 }
1963 vm_page_free(p);
1964next:
1965 vm_page_unlock(p);
1966 }
1967 vm_object_pip_wakeup(object);
1968skipmemq:

--- 468 unchanged lines hidden ---
1961 }
1962 }
1963 vm_page_free(p);
1964next:
1965 vm_page_unlock(p);
1966 }
1967 vm_object_pip_wakeup(object);
1968skipmemq:

--- 468 unchanged lines hidden ---