Lines Matching defs:nptcg
145 static u16 nptcg = 1;
150 * Kernel parameter "nptcg=" overrides max number of concurrent global TLB
153 * We don't have sanity checking for nptcg value. It's the user's responsibility
154 * for valid nptcg value on the platform. Otherwise, kernel may hang in some
168 __setup("nptcg=", set_nptcg);
177 * Kernel parameter "nptcg=" overrides maximum number of simultaneous ptc.g
193 BUG_ON(1 < nptcg);
195 BUG_ON(max_purges < nptcg);
201 nptcg = max_purges;
205 need_ptcg_sem = num_possible_cpus() > nptcg;
215 nptcg = max_purges;
216 if (nptcg == PALO_MAX_TLB_PURGES) {
223 if (nptcg != PALO_MAX_TLB_PURGES)
224 need_ptcg_sem = (num_possible_cpus() > nptcg);
232 nptcg = max_purges;
235 if (max_purges < nptcg)
236 nptcg = max_purges;
237 if (nptcg == PAL_MAX_PURGES) {
241 need_ptcg_sem = (num_possible_cpus() > nptcg);