DragonFlyBSD/src 0e32b8csys/conf files, sys/dev/drm linux_sched.c drm_drv.c

drm - Refactor task_struct and implement mm_struct

* Change td->td_linux_task from an embedded structure to a pointer.

* Add p->p_linux_mm to support tracking mm_struct's.

* Change the 'current' macro to test td->td_linux_task and call
  a support function, linux_task_alloc(), if it is NULL.

* Implement callbacks from the main kernel for thread exit and
  process exit to support functions that drop the td_linux_task and
  p_linux_mm pointers.

  Initialize and clear these callbacks in the module load/unload
  in drm_drv.c

* Implement required support functions in linux_sched.c
DeltaFile
+132-0sys/dev/drm/linux_sched.c
+16-1sys/dev/drm/include/asm/current.h
+11-0sys/dev/drm/include/linux/mm_types.h
+4-6sys/sys/thread.h
+8-0sys/kern/kern_exit.c
+6-0sys/dev/drm/drm_drv.c
+2-2sys/dev/drm/include/linux/sched.h
+1-1sys/sys/proc.h
+1-0sys/conf/files
+1-0sys/dev/drm/drm/Makefile
+182-1010 files

UnifiedSplitRaw