[Accel-config] Re: [PATCH] accel-config/test: load/unload uacce module at cleanup
Luck, Tony <tony.luck at intel.com>
| Newsgroups | dev.linux.lists.accel-config |
|---|---|
| Message-ID | <[email protected]> |
-r, --remove
This option causes modprobe to remove rather than insert a
module. If the modules it depends on are also unused, modprobe will try to remove them
too. Unlike insertion, more than one module can be specified on the command line (it
does not make sense to specify module parameters when removing modules).
Maybe a bug in modprobe? It shouldn’t try to remove idxd when the first of the
dependent modules is removed (because idxd is still “in use” by the other).
Either that, or IDXD and these two dependent modules aren’t setting the right
bits to let modprobe know what is going on?
-Tony
attachment.htm
(text/html, 3.2 KB)
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
font-size:11.0pt;
font-family:"Arial",sans-serif;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Arial",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoPlainText" style="margin-left:.5in"> -r, --remove<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in"> This option causes modprobe to remove rather than insert a
<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">module. <span style="background:yellow;mso-highlight:yellow">
If the modules it depends on are also unused</span>, modprobe will try to remove them
<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">too. Unlike insertion, more than one module can be specified on the command line (it
<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:.5in">does not make sense to specify module parameters when removing modules).<o:p></o:p></p>
<p class="MsoPlainText"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="color:black">Maybe a bug in modprobe? It shouldn’t try to remove idxd when the first of the<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black">dependent modules is removed (because idxd is still “in use” by the other).<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="color:black">Either that, or IDXD and these two dependent modules aren’t setting the right<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black">bits to let modprobe know what is going on?<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="color:black">-Tony<o:p></o:p></span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
</div>
</body>
</html>