Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2017 18:04:10 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   linuxkpi
Message-ID:  <CALM2mEkyrccUWkO0-xuA3WFrF=ROB5zDxF31o9feY6sKODtoPg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I was looking at the linuxkpi source code in /sys/compat/linuxkpi and I had
a question.

A lot of those files just look like linux files brought over to FreeBSD, is
there any reason why those files couldn't be implemented in BSD w/o the
dependencies on the other Linux headers?

For example this header file:
sys/compat/linuxkpi/common/include/linux/workqueue.h

the workqueue.h, there doesn't seem to be anything special in there that
couldn't be implemented in BSD without relying on the Linux import
statements.

Maybe I'm missing something but why can't these files and functions be
implemented directly with their BSD equivalents?

Best,
Owen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEkyrccUWkO0-xuA3WFrF=ROB5zDxF31o9feY6sKODtoPg>