On 07/03/17 21:57, christophe lombard wrote:
@@ -281,7 +212,6 @@ void cxl_handle_fault(struct work_struct
*fault_work)
if (!ctx->kernel) {
mm = get_mem_context(ctx);
- /* indicates all the thread in task group have exited */
if (mm == NULL) {
pr_devel("%s: unable to get mm for pe=%d pid=%i\n",
__func__, ctx->pe, pid_nr(ctx->pid));
Is there still a case where mm can equal NULL?
Yes. The context may be in the process of being closed.
But where does ctx->mm get reset to NULL? I've had a cursory look and
can't see it.
--
Andrew Donnellan OzLabs, ADL Canberra
andrew.donnel...@au1.ibm.com IBM Australia Limited