lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 11 Jun 2009 14:10:37 +0800
From:	Li Zefan <lizf@...fujitsu.com>
To:	Pekka J Enberg <penberg@...helsinki.fi>
CC:	linux-kernel@...r.kernel.org, mingo@...e.hu,
	torvalds@...ux-foundation.org, yinghai@...nel.org
Subject: Re: [PATCH 2/2] sched: use slab in cpupri_init()

> @@ -163,9 +167,7 @@ int __init_refok cpupri_init(struct cpupri *cp, bool bootmem)

so the __init_refok tag can be removed, no?

>  
>  		spin_lock_init(&vec->lock);
>  		vec->count = 0;
> -		if (bootmem)
> -			alloc_bootmem_cpumask_var(&vec->mask);
> -		else if (!zalloc_cpumask_var(&vec->mask, GFP_KERNEL))
> +		if (!zalloc_cpumask_var(&vec->mask, gfp))
>  			goto cleanup;
>  	}
>  
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ