Re: [PATCH 4/4] perf/x86/uncore: modularize Intel uncore driver

From: Andi Kleen
Date: Thu Mar 20 2014 - 11:50:47 EST


>
> I'm not necessarily against the idea, it's just it's tricky enough as it
> is trying to help people with uncore pmu issues and now I will have to add
> "make sure the relevant kernel module is loaded" to the list of things
> that could be going wrong.

In theory the module could be always auto loaded (by adding a
exported pci_device_id to the driver). However for 99% of users it would
be wasted memory, as they never monitor anything.

One way to handle it would be just to add a request_module with
appropiate aliases to perf.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/