static bool is_swapgs_serializing(void)
{
	/*
	 * Technically, swapgs isn't serializing on AMD (despite it previously
	 * being documented as such in the APM).  But according to AMD, %gs is
	 * updated non-speculatively, and the issuing of %gs-relative memory
	 * operands will be blocked until the %gs update completes, which is
	 * good enough for our purposes.
	 */
	return boot_cpu_data.x86_vendor == X86_VENDOR_AMD;
}
static bool is_swapgs_serializing(void)
{
	 
	return boot_cpu_data.x86_vendor == X86_VENDOR_AMD;
}