Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
xen
xenpaging.speedup-page-out.resume_pages.find_ne...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xenpaging.speedup-page-out.resume_pages.find_next_bit_set.patch of Package xen
--- tools/xenpaging/xenpaging.c | 7 +++++++ 1 file changed, 7 insertions(+) Index: xen-4.1.2-testing/tools/xenpaging/xenpaging.c =================================================================== --- xen-4.1.2-testing.orig/tools/xenpaging/xenpaging.c +++ xen-4.1.2-testing/tools/xenpaging/xenpaging.c @@ -721,6 +721,13 @@ static void resume_pages(xenpaging_t *pa for ( i = 0; i < paging->max_pages && num < num_pages; i++ ) { + /* Skip empty longs */ + if ( (i & (BITS_PER_LONG - 1)) == 0 && paging->bitmap[i >> ORDER_LONG] == 0 ) + { + i += BITS_PER_LONG; + continue; + } + if ( test_bit(i, paging->bitmap) ) { paging->pagein_queue[num] = i;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor