]> err.no Git - linux-2.6/blobdiff - kernel/cpuset.c
sundance: PCI ID for ip100a
[linux-2.6] / kernel / cpuset.c
index 57fd88237afc94d642811cb014c9f5caca4962a9..ab81fdd4572bb4b65dad432d69f58f222d3f1aee 100644 (file)
@@ -2261,6 +2261,7 @@ int __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask)
        if (in_interrupt())
                return 1;
        node = z->zone_pgdat->node_id;
+       might_sleep_if(!(gfp_mask & __GFP_HARDWALL));
        if (node_isset(node, current->mems_allowed))
                return 1;
        if (gfp_mask & __GFP_HARDWALL)  /* If hardwall request, stop here */