Lines Matching refs:nptcg
137 static u16 nptcg = 1;
142 * Kernel parameter "nptcg=" overrides max number of concurrent global TLB
145 * We don't have sanity checking for nptcg value. It's the user's responsibility
146 * for valid nptcg value on the platform. Otherwise, kernel may hang in some
160 __setup("nptcg=", set_nptcg);
169 * Kernel parameter "nptcg=" overrides maximum number of simultanesous ptc.g
185 BUG_ON(1 < nptcg);
187 BUG_ON(max_purges < nptcg);
193 nptcg = max_purges;
197 need_ptcg_sem = num_possible_cpus() > nptcg;
207 nptcg = max_purges;
208 if (nptcg == PALO_MAX_TLB_PURGES) {
215 if (nptcg != PALO_MAX_TLB_PURGES)
216 need_ptcg_sem = (num_possible_cpus() > nptcg);
224 nptcg = max_purges;
227 if (max_purges < nptcg)
228 nptcg = max_purges;
229 if (nptcg == PAL_MAX_PURGES) {
233 need_ptcg_sem = (num_possible_cpus() > nptcg);