fix to count user pages

refs #864
This commit is contained in:
Tomoki Shirasawa
2017-07-14 09:51:39 +09:00
parent 6afea4af48
commit d7b8e7f4f4
20 changed files with 322 additions and 299 deletions

View File

@ -56,7 +56,7 @@ void sig_done(unsigned long arg, int err);
void mcctrl_perf_ack(ihk_os_t os, struct ikc_scd_packet *packet);
void mcctrl_os_read_write_cpu_response(ihk_os_t os,
struct ikc_scd_packet *pisp);
void mcctrl_event_signal(ihk_os_t os, struct ikc_scd_packet *pisp);
void mcctrl_eventfd(ihk_os_t os, struct ikc_scd_packet *pisp);
/* XXX: this runs in atomic context! */
static int syscall_packet_handler(struct ihk_ikc_channel_desc *c,
@ -121,8 +121,8 @@ static int syscall_packet_handler(struct ihk_ikc_channel_desc *c,
mcctrl_os_read_write_cpu_response(__os, pisp);
break;
case SCD_MSG_EVENT_SIGNAL:
mcctrl_event_signal(__os, pisp);
case SCD_MSG_EVENTFD:
mcctrl_eventfd(__os, pisp);
break;
default:
@ -401,7 +401,7 @@ void destroy_ikc_channels(ihk_os_t os)
}
void
mcctrl_event_signal(ihk_os_t os, struct ikc_scd_packet *pisp)
mcctrl_eventfd(ihk_os_t os, struct ikc_scd_packet *pisp)
{
ihk_os_event_signal(os, 0);
ihk_os_eventfd(os, 0);
}

View File

@ -92,7 +92,7 @@
#define SCD_MSG_PROCFS_TID_CREATE 0x44
#define SCD_MSG_PROCFS_TID_DELETE 0x45
#define SCD_MSG_EVENT_SIGNAL 0x46
#define SCD_MSG_EVENTFD 0x46
#define SCD_MSG_PERF_CTRL 0x50
#define SCD_MSG_PERF_ACK 0x51